You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: .github/CONTRIBUTING.md
+41-12Lines changed: 41 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,19 +66,8 @@ The following guidelines may answer most of your questions and help you get star
66
66
- Familiarize yourself with the organization and conventions of our existing documentation before creating a pull request. Changes that are consistent with our style and conventions have a higher acceptance rate.
67
67
68
68
- If you need to update the site navigation, ask for help in Slack ([#devdocs](https://magentocommeng.slack.com/messages/CAN932A3H)).
69
-
- We use symbolic links for topics that are the same across versions of Magento. Remove the symbolic link and add a new file if your changes are unique to a specific version. Copy and paste a previous version of the topic to get started.
- Make sure that you update the correct version(s) of documentation (v2.2, v2.3). If you are not sure what directory to put your content in, just do your best. We can help re-locate it (if necessary) during the review process.
70
+
- Ensure that you update the correct version(s) of documentation (v2.2, v2.3). If you are not sure what directory to put your content in, just do your best. We can help re-locate it (if necessary) during the review process.
82
71
- Review your work for basic typos, formatting errors, or ambiguous sentences before opening a pull request.
83
72
- Revise pull requests according to review feedback. We will close pull requests that require an inordinate amount of time to review and process (especially for minor changes) if you fail to make revisions according to review feedback.
84
73
- Do not directly contact DevDocs team members or maintainers on Slack to review your pull request unless it has been open for more than five days. We have a process and queue for pull requests that everyone must follow.
@@ -116,6 +105,7 @@ We provide templates to help you get started writing new content and understandi
116
105
The Markdown (.md) file's metadata is a set of YAML key-value pairs. The metadata section is located at the top of each file. For more info, see the [Basic Template](https://devdocs.magento.com/guides/v2.3/contributor-guide/templates/basic_template.html).
117
106
118
107
```yaml
108
+
119
109
---
120
110
group: install2
121
111
title: Continue with your installation
@@ -129,6 +119,45 @@ title: Continue with your installation
129
119
|`group`| Defines the topic's guide or section. Use the table of contents `.yml` file name. This loads your left-side navigation. We will help during the PR process to add new files to the `.yml` file. |
130
120
|`title`| Sets the title of the page in the HTML metadata and the main title on the page. |
131
121
122
+
## Symbolic links
123
+
124
+
We use symbolic links for topics that are the same across versions of Magento. A file is symlinked if the entire content of the file is a path to the original version, such as [ext-best-practices/tutorials/serialized-to-json-data-upgrade.md](https://github.com/magento/devdocs/blob/master/guides/v2.3/ext-best-practices/tutorials/serialized-to-json-data-upgrade.md). Note that some editors will automatically follow symlinks so it might not be clear if a file is symlinked or not. Check the file on Github directly to be sure.
125
+
126
+
### Create a symbolic link
127
+
128
+
When you create a new topic (create a new `.md` file) and its content is the same for 2.2 and 2.3 versions, create a symbolic link.
129
+
130
+
For example, if you created a new file for v.2.2---`guides/v2.2/install-gde/new-doc-topic.md`---and its content is the same for v.2.3, use the command below to create the symbolic link.
If you have an image that is identical between versions, it is should placed in `/common/images`. Please optimize images before committing them to the repository.
141
+
If done correctly, the symbolic link path will start with 3 or 4 instances of `../`, as the above example shows.
142
+
143
+
### Remove a symbolic link
144
+
145
+
If your changes are unique to a specific version, remove the symbolic link and add a new file. Copy and paste a previous version of the topic to get started.
146
+
147
+
The removal should use the `git rm` command specifically. Deleting the file through the regular file system might cause issues with the repository.
Once you have the copy in place, you can edit it with the version-specific information.
160
+
132
161
## Report an issue
133
162
134
163
If you find a typo or errors in Magento DevDocs, you can either fix it with a pull request (as described above) or you can report it by creating an issue in the DevDocs GitHub repository.
Copy file name to clipboardExpand all lines: _includes/cache/page-cache-overview.md
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,4 +35,3 @@ Reverse proxies serve "public" or shared content to more than one user. However,
35
35
-**[Public]({{ page.baseurl }}/extension-dev-guide/cache/page-caching/public-content.html)** - Public content is stored server side in your reverse proxy cache storage (e.g., file system, database, Redis, or Varnish) and is available to multiple customers. Examples of public content include header, footer, and category listing.
36
36
37
37
-**[Private]({{ page.baseurl }}/extension-dev-guide/cache/page-caching/private-content.html)** - Private content is stored client side (e.g., browser) and is specific to an individual customer. Examples of private content include wishlist, shopping cart, customer name, and address. You should limit stored private content to a small portion of the page's total content.
Copy file name to clipboardExpand all lines: _includes/cloud/enable-ssh.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,7 @@ If you have SSH keys, a directory listing is displayed similar to the following:
28
28
If you do not have SSH keys, you need to generate the keys for adding to your Magento ECE account and GitHub account. See [Create a new SSH key pair](#ssh-create-new-key-pair).
29
29
30
30
If you already have SSH keys, continue to:
31
+
31
32
*[Add a public SSH key to your Magento account](#ssh-add-to-account) section
32
33
*[Add your SSH key to your GitHub account](https://help.github.com/articles/adding-a-new-ssh-key-to-your-github-account/)
The following route configuration examples use route templates with placeholders. The `{default}` placeholder represents the default domain configured for your site. If your project has multiple domains, use the `{all}` placeholder instead to configure routing for the default domain and all aliases. See [Configure routes]({{ page.baseurl }}/cloud/project/project-conf-files_routes.html).
1
+
{:.bs-callout-info}
2
+
The following route configuration examples use route templates with placeholders. The `{default}` placeholder represents the default domain configured for your site. If your project has multiple domains, use the `{all}` placeholder to configure routing for the default domain and all aliases. See [Configure routes]({{ page.baseurl }}/cloud/project/project-conf-files_routes.html).
Copy file name to clipboardExpand all lines: _includes/config/es-elasticsearch-magento.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,7 @@ Unless you changed Elasticsearch server settings, the defaults should work. Skip
30
30
|**Enable Elasticsearch HTTP Auth**|Click **Yes** only if you enabled authentication for your Elasticsearch server. If so, provide a username and password in the provided fields.|
31
31
32
32
{:start="4"}
33
+
33
34
1. Click **Test Connection**.
34
35
35
36
You will see either:
@@ -49,11 +50,11 @@ If so, try the following:
49
50
50
51
* Make sure the Elasticsearch server is running.
51
52
* If the Elasticsearch server is on a different host from Magento, log in to the Magento server and ping the Elasticsearch host. Resolve network connectivity issues and test the connection again.
52
-
* Examine the command window in which you started Elasticsearch for stack traces and exceptions. You must resolve those before you continue.
53
-
In particular, make sure you started Elasticsearch as a user with `root` privileges.
53
+
* Examine the command window in which you started Elasticsearch for stack traces and exceptions. You must resolve those before you continue. In particular, make sure you started Elasticsearch as a user with `root` privileges.
54
54
* Make sure that [UNIX firewall and SELinux]({{ page.baseurl }}/config-guide/elasticsearch/es-overview.html#firewall-selinux) are both disabled, or set up rules to enable Elasticsearch and Magento to communicate with each other.
55
55
* Verify the value of the **Elasticsearch Server Hostname** field. Make sure the server is available. You can try the server's IP address instead.
56
56
* Use the command `netstat -an | grep **listen-port**` command to verify that the port specified in the **Elasticsearch Server Port** field is not being used by another process.
57
+
57
58
For example, to see if Elasticsearch is running on its default port, use the following command:
Copy file name to clipboardExpand all lines: _includes/config/multi-site_verify.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,7 @@ Unless you have DNS set up for your stores' URLs, you must add a static route to
14
14
You're done!
15
15
16
16
{:.bs-callout .bs-callout-info}
17
+
17
18
* Additional tasks might be required to deploy multiple websites in a hosted environment; check with your hosting provider for more information.
18
19
* Additional tasks are required to set up {{site.data.var.ece}}; for more information, see [Set up multiple Cloud websites or stores]({{ page.baseurl }}/cloud/project/project-multi-sites.html)
Copy file name to clipboardExpand all lines: _includes/config/setup-cron.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,11 +5,13 @@ Magento uses cron for two sets of tasks, and for each, cron can run with a diffe
5
5
* PHP command-line configuration: The general cron job that reindexes indexers, generates e-mails, generates the sitemap, and so on.
6
6
7
7
You can find the command-line configuration using the command `php --ini`.
8
+
8
9
* Web server PHP plug-in configuration: Two other cron jobs are used by the [Component Manager and System Upgrade utilities]({{ page.baseurl }}/comp-mgr/bk-compman-upgrade-guide.html).
9
10
10
11
You can find the web server plug-in configuration using [`phpinfo.php`]({{ page.baseurl }}/install-gde/prereq/optional.html#install-optional-phpinfo).
11
12
12
13
{:.bs-callout .bs-callout-warning}
14
+
13
15
* To avoid issues during installation and upgrade, we strongly recommend you apply the same PHP settings to both the PHP command-line configuration and to the PHP web server plug-in's configuration. For more information, see [Required PHP settings]({{ page.baseurl }}/install-gde/prereq/php-settings.html).
14
16
* In a multi-node system, crontab can run on only one node. This applies to you only if you set up more than one webnode for reasons related to performance or scalability.
0 commit comments