Thanks to visit codestin.com
Credit goes to github.com

Skip to content

commerce-docs/devdocs-archive

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magento Developer Documentation

This project contains the source code of the latest 2.0 Magento developer documentation archived. The resulting website is available at https://commerce-docs.github.io/devdocs-archive/2.0/.

Building this site

For local builds, you need to install Ruby 2.4 or later.

To check the Ruby version on your environment, run in your terminal:

ruby -v

See the Ruby site for installation instructions.

Install Bundler

Install the Bundler gem, which helps with Ruby dependencies:

gem install bundler

Once you have completed preparing your environment, you can build locally and review the site in your browser.

Install devdocs

Clone or download the repository. The first time you are at the devdocs directory, run:

bundle install

Once you have completed preparing your environment, you can build locally and review the site in your browser.

Build and preview locally

rake is a native Ruby tool that helps to automate tasks.

  1. Run the rake task that installs all required dependencies and starts the Jekyll server:

    rake preview
  2. Press Ctrl+C in the serve terminal to stop the server.

If rake fails on your environment, generate the preview using jekyll.

Build and deploy (for admins)

The website is deployed using the GitHub Pages service. The builds are pushed to the 2.0 directory at the gh-pages branch.

To build and deploy the website, run:

rake build_and_deploy

The command performs the following actions:

  1. Clears the _site directory.
  2. Builds the website with the base URL devdocs-archive/2.0.
  3. Remembers the number of commit that's been built to use later in a commit message for reference.
  4. Checkouts the gh-pages branch.
  5. Copies the content of the _site directory to the 2.0 directory. The _site directory is ignored by git that makes the build from the archived-docs-v2.0 available in the gh-pages branch.
  6. Adds and commits the changes with the message that has reference to the commit of the built source code (see item 3 in this list).
  7. Pushes the commit to the remote repository.
  8. Checkouts back to the source code branch.

About

Archived Magento Developer Documentation

Resources

License

OSL-3.0, Unknown licenses found

Licenses found

OSL-3.0
LICENSE.txt
Unknown
COPYING.txt

Code of conduct

Stars

Watchers

Forks

Languages

  • Ruby 37.7%
  • HTML 30.7%
  • JavaScript 17.0%
  • CSS 14.2%
  • Shell 0.4%