All Projects → magento → Devdocs

magento / Devdocs

Licence: other
Magento Developer Documentation

Projects that are alternatives of or similar to Devdocs

Obs Web
OBS-web - the easiest way to control OBS remotely
Stars: ✭ 512 (-1.73%)
Mutual labels:  hacktoberfest
Sentry Symfony
The official Symfony SDK for Sentry (sentry.io)
Stars: ✭ 515 (-1.15%)
Mutual labels:  hacktoberfest
Teresa
Open source tool to deploy apps to Kubernetes clusters
Stars: ✭ 517 (-0.77%)
Mutual labels:  hacktoberfest
Hackers
Hackers is an elegant iOS app for reading Hacker News written in Swift.
Stars: ✭ 513 (-1.54%)
Mutual labels:  hacktoberfest
Octolinker
OctoLinker — Links together, what belongs together
Stars: ✭ 4,853 (+831.48%)
Mutual labels:  hacktoberfest
Guide
The official guide for discord.js, created and maintained by core members of its community
Stars: ✭ 512 (-1.73%)
Mutual labels:  hacktoberfest
Hacktoberfest
Hacktoberfest - App to manage the annual open source challenge.
Stars: ✭ 512 (-1.73%)
Mutual labels:  hacktoberfest
Apisprout
Lightweight, blazing fast, cross-platform OpenAPI 3 mock server with validation
Stars: ✭ 519 (-0.38%)
Mutual labels:  hacktoberfest
Messagekit
A community-driven replacement for JSQMessagesViewController
Stars: ✭ 5,036 (+866.6%)
Mutual labels:  hacktoberfest
Space Nerds In Space
Multi-player spaceship bridge simulator. Captain your starship through adventures with your friends. See https://smcameron.github.io/space-nerds-in-space
Stars: ✭ 516 (-0.96%)
Mutual labels:  hacktoberfest
Uno
Build Mobile, Desktop and WebAssembly apps with C# and XAML. Today. Open source and professionally supported.
Stars: ✭ 6,029 (+1057.2%)
Mutual labels:  hacktoberfest
Telethon
Pure Python 3 MTProto API Telegram client library, for bots too!
Stars: ✭ 5,805 (+1014.2%)
Mutual labels:  hacktoberfest
Jsep
JavaScript Expression Parser
Stars: ✭ 515 (-1.15%)
Mutual labels:  hacktoberfest
Topydo
A powerful todo list application for the console, using the todo.txt format.
Stars: ✭ 511 (-1.92%)
Mutual labels:  hacktoberfest
Pixz
Parallel, indexed xz compressor
Stars: ✭ 518 (-0.58%)
Mutual labels:  hacktoberfest
Yopass
Secure sharing for secrets, passwords and files
Stars: ✭ 511 (-1.92%)
Mutual labels:  hacktoberfest
Devjoke
#DevJoke. Submit a PR if you know a good dev joke.
Stars: ✭ 516 (-0.96%)
Mutual labels:  hacktoberfest
Pydot
Python interface to Graphviz's Dot language
Stars: ✭ 518 (-0.58%)
Mutual labels:  hacktoberfest
Algorithmic Pseudocode
This repository contains the pseudocode(pdf) of various algorithms and data structures necessary for Interview Preparation and Competitive Coding
Stars: ✭ 519 (-0.38%)
Mutual labels:  hacktoberfest
Indy Sdk
Everything needed to build applications that interact with an Indy distributed identity ledger.
Stars: ✭ 516 (-0.96%)
Mutual labels:  hacktoberfest

Magento Developer Documentation

Welcome! This site contains the latest Magento developer documentation for ongoing Magento 2.x releases. For additional information, see our Contribution Guide.

Contributors

Our goal is to provide the Magento community with comprehensive and quality technical documentation. We believe that to accomplish that goal we need experts from the community to share their knowledge with us and each other. We are thankful to all of our contributors for improving Magento documentation.

Building this site

This site is built by Jekyll, which is an open-source tool developed in Ruby.

You can build the site locally in the following ways:

Build locally

You do not need to set up a webserver to serve the site locally. Jekyll will use its own webserver for this.

Set up Ruby

Consider to set up the Ruby version defined in .ruby-version. Ruby version manager such as rvm or rbenv can help to manage the correct version for this automatically.

See official documentation for the most recent installation guidelines and available options.

Install devdocs

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

bundle install

The website file structure contains directories pulled from multiple sources, not only this repository. The full list with mapped directories is defined in the Docfile.yml. It includes public and private repositories. To pull all the mapped sources:

rake init

Docfile begins with public sources, because the rake init task fails when it attempts to clone content from private repositories without the corresponding permissions.

NOTE By default rake clones using SSH. If you want to clone with HTTPS, you can run it with the token variable:

token=none rake init

Use none if you do not want to use a real token. To have access to private repositories, you will need a GitHub token with the relevant access permissions.

TIP All the helper CLI commands for this project are implemented using rake. Use the rake --tasks command for a complete list of available tasks, or filter the list using a keyword, such as rake --tasks test.

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

Run the website

  1. Using the following rake task, verify all the required dependencies and start the embedded web server:

    rake preview
    

    You will see the commands called by the rake task and the corresponding output. Each command is typically highlighted with the magenta color:

    ~/magento/devdocs (master)$ rake preview
    Install gems listed in the Gemfile: $ bundle install
    Using rake 13.0.1
    Using public_suffix 4.0.3
    <truncated>
    Bundle complete! 16 Gemfile dependencies, 70 gems now installed.
    Use `bundle info [gemname]` to see where a bundled gem is installed.
    Installed!
    Cleaning after the last site generation: $ bundle exec jekyll clean
    Configuration file: /Users/user/magento/devdocs/_config.yml
              Cleaner: Removing /Users/user/magento/devdocs/_site...
              Cleaner: Removing src/.jekyll-metadata...
              Cleaner: Removing src/.jekyll-cache...
              Cleaner: Nothing to do for .sass-cache.
    Clean!
    Enabled the default configuration: $ bundle exec jekyll serve --incremental \
                                    --open-url \
                                    --livereload \
                                    --trace \
                                    --plugins _plugins,_checks
    Configuration file: /Users/user/magento/devdocs/_config.yml
    Theme Config file: /Users/user/.rvm/gems/ruby-2.6.5/bundler/gems/devdocs-theme-e1a4ff6880d5/ _config.yml
                Source: /Users/user/magento/devdocs/src
          Destination: /Users/user/magento/devdocs/_site
    Incremental build: enabled
          Generating...
    Running ["ImageCheck", "HtmlCheck", "LinkCheck", "ScriptCheck",  "LinkChecker::DoubleSlashCheck"] on ["/Users/user/magento/devdocs/_site"] on *.html...
    
    
    Ran on 1747 files!
    
    
    HTML-Proofer finished successfully.
                        done in 220.316 seconds.
    Auto-regeneration: enabled for 'src'
    LiveReload address: http://127.0.0.1:35729
        Server address: http://127.0.0.1:4000/
      Server running... press ctrl-c to stop.
            LiveReload: Browser connected
    
  2. The generated website launches automatically in a new tab in your browser.

  3. Press Ctrl+C in the serve terminal to stop the server.

TIP Leave the serve terminal open and running. Every time you save changes to a file, it automatically regenerates the site so you can test the output immediately. Changing the _config.yml file or other YAML file with data or configuration requires a fresh build (stop and start the server again with rake preview).

Exclude private repositories

If you do not have access to the private repositories required by Docfile, you can exclude them in _config.local.yml to avoid the link checking report about missing pages.

Create a _config.local.yml file at the root of the project directory and exclude the paths you do not want to generate:

exclude:
  - page-builder

TIP You can override any other configuration options using this file.

TIP To ignore the _config.local.yml file and preview the site with default configuration, use the preview:all option :

rake preview:all

Building old versions

The published website contains documentation for the latest Magento releases only. For cases, when you need to view the content as it was for an earlier release, we created tags in this repository. Typically, they point at the commit when the release notes were finalized and published.

To view the list of available tags:

git tag --list

To checkout the version (for example 2.2.0):

git checkout 2.2.0

Find guidelines for building the site locally in the checked out README.

NOTE There is no guarantee the site will be built, since it can have dependencies on the external resources that are not available anymore.


If you have questions, open an issue and ask us. We're looking forward to hearing from you!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].