magento/devdocs là dự án Ruby với 682 sao. [Deprecated] Magento Developer Documentation
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
This project contains the source code of the Adobe Commerce and Magento Open Source developer documentation website for the latest 2.3 release.
Important update
Adobe Commerce and Magento Open Source 2.4.x documentation has been migrated to Adobe sites. See our new landing pages to access the most current information.
Adobe Commerce Developer Documentation (Adobe Developer site)—Develop, customize, integrate, extend, and use advanced capabilities
Adobe Commerce Documentation (Adobe Experience League)—Plan, implement, operate, upgrade, and maintain your Commerce projects
Some content was consolidated or moved to different guides. If you have trouble finding a topic, see the Migrated topics.
We welcome contributions to migrated content! You can find similar links to GitHub on the Adobe sites.
The content at https://devdocs.magento.com is no longer supported since the 2.3 release line has reached end of support.
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:
Installing the project dependencies locally (Mac, Linux)
Using Docker (docker-compose) (Mac, Linux, Windows)
Using a Vagrant virtual machine (Mac, Linux, Windows)
Build DevDocs in Windows (Windows 7 & 10)
Building older versions of the documentation
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
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
The generated website launches automatically in a new tab in your browser.
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).
Building old versions
The published website contains documentation for the latest 2.3.x Adobe Commerce and Magento Open Source release 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.
Archived docs
To view the archived documentation, see https://commerce-docs.github.io/devdocs-archive/.
magento/devdocs có 682 sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/magento/devdocs. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
magento/devdocs có tag gì không?
Bản đồng bộ chưa ghi nhận topic GitHub nào cho magento/devdocs. GitHub topics hiển thị ở thanh bên phải trang repo — đó là nơi đáng kiểm tra nhất.
magento/devdocs còn đang phát triển không?
Commit gần nhất trên magento/devdocs là 1.8 năm trước (theo timestamp GitHub). Repo có 1.7k fork — một chỉ báo về mức độ quan tâm của cộng đồng.
magento/devdocs là gì?
magento/devdocs (magento/devdocs) là dự án Ruby trên GitHub. Theo mô tả gốc: [Deprecated] Magento Developer Documentation
magento/devdocs viết bằng ngôn ngữ gì?
magento/devdocs chủ yếu viết bằng Ruby. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Đọc đầy đủ README ở tab phía trên.
Chưa chắc devdocs có hợp với bạn?
Để ChatGPT, Claude hoặc Perplexity tìm hiểu giúp — bấm bên dưới và xem AI nói gì về devdocs.