doc: roles for linking files now correctly links to submodule repositories
Closes IDF-1584
This commit is contained in:
@@ -141,7 +141,7 @@ There is couple of tips, how you can make your documentation even better and mor
|
||||
Linking Examples
|
||||
----------------
|
||||
|
||||
When linking to examples on GitHub do not use absolute / hardcoded URLs. Instead, use docutils custom roles that will generate links for you. These auto-generated links point to the tree or blob for the git commit ID (or tag) of the repository. This is needed to ensure that links do not get broken when files in master branch are moved around or deleted.
|
||||
When linking to examples on GitHub do not use absolute / hardcoded URLs. Instead, use docutils custom roles that will generate links for you. These auto-generated links point to the tree or blob for the git commit ID (or tag) of the repository. This is needed to ensure that links do not get broken when files in master branch are moved around or deleted. The roles will transparently handle files that are located in submodules and will link to the submodule's repository with the correct commit ID.
|
||||
|
||||
The following roles are provided:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user