-
Notifications
You must be signed in to change notification settings - Fork 393
Closed
quarto-dev/quarto-web
#1148Labels
documentationDoc improvements & quarto-webDoc improvements & quarto-web
Milestone
Description
@mcanouil did some great work improving the consistency of our internal links on quarto.org (fixing some broken ones in the process).
Below you'll find some draft recommendations for the conventions followed for these links. We need to:
- Discuss and agree on these recommendations
- Document them (I propose in the quarto-web README for now)
Link Recommendations
- Use relative paths for child or sibling documents. E.g.
images/fig-1.png,pdf-basics.qmd - Prefer absolute paths from the root of the project over relative paths involving
../. E.g. use/docs/output-formats/html-themes.qmd, not../output-formats/html-themes.qmd.- Possible exception: documents in a subfolder of a section that link to the section root, e.g. you may use
../index.qmdto refer todocs/manuscripts/index.qmdfromdocs/manuscripts/authoring/index.qmd.
- Possible exception: documents in a subfolder of a section that link to the section root, e.g. you may use
- Use
.qmdinstead of.html. E.g. usecontent.qmd#editing-tables, notcontent.html#editing-tables- Possible exception: links in blog posts
Metadata
Metadata
Assignees
Labels
documentationDoc improvements & quarto-webDoc improvements & quarto-web