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.
DevDocs uses symlinks to inherit content from a previous minor version for topics that have not been affected by new releases. For example, src/guides/v2.4/hello-world.md file can be a symlink of the src/guides/v2.3/hello-world.md. So that any changes in the 2.3 version of the topic would automatically be applied to the 2.4 version of the topic.
To help with managing symlink files, DevDocs has implemented helper rake tasks. You can list them using the rake -D symlink command:
rake symlink:create_from
Create a 2.4 symlink from the corresponding 2.3 file. Example: rake symlink:create_from path=src/guides/v2.3/release-notes/packages-cloud.md
rake symlink:replace_at
Replace a 2.4 symlink with a copy of the 2.3 file. Example: rake symlink:replace_at path=src/guides/v2.4/release-notes/packages-cloud.md
The commands have to be run at the root folder of the project. If you need to find out whether a file is a symlink, you can use command line tools such as realpath