-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Docs: New how-to sublevels (Diátaxis) #10131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
fcc63ff
35b566e
35985f4
ef62e00
8cac4d6
5f89fd1
8609b11
15e29a4
6365675
bd956a0
635629f
85cd71c
fc27f4a
4a2490e
66d69fc
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
How-to guides: security and access | ||
================================== | ||
|
||
⏩️ :doc:`Single Sign-On (SSO) with GitHub, GitLab, or Bitbucket </guides/setup-single-sign-on-github-gitlab-bitbucket>` | ||
When using an :doc:`organization </commercial/organizations>` on |com_brand|, | ||
you can configure SSO for your users to authenticate to Read the Docs. | ||
|
||
⏩️ :doc:`Single Sign-On (SSO) with Google Workspace </guides/setup-single-sign-on-google-email>` | ||
When using an :doc:`organization </commercial/organizations>` on |com_brand|, | ||
you can configure SSO for your users to authenticate to Read the Docs. | ||
This guide is written for Google Workspace. | ||
|
||
⏩️ :doc:`Managing Read the Docs teams </guides/manage-read-the-docs-teams>` | ||
When using an :doc:`organization </commercial/organizations>` on |com_brand|, | ||
it's possible to create different teams with custom access levels. | ||
|
||
⏩️ :doc:`Manually importing private repositories </guides/importing-private-repositories>` | ||
You can grant access to private Git repositories using |com_brand| using a custom process if required. | ||
Here is how you set it up. | ||
|
||
⏩️ :doc:`Using private Git submodules </guides/private-submodules>` | ||
If you are using private Git repositories and they also contain private Git submodules, | ||
you need to follow a few special steps. | ||
|
||
⏩️ :doc:`Installing private python packages </guides/private-python-packages>` | ||
If you have private dependencies, you can install them from | ||
a :ref:`private Git repository <guides/private-python-packages:From a Git repository>` or | ||
a :ref:`private repository manager <guides/private-python-packages:From a repository manager other than PyPI>`. | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
:hidden: | ||
|
||
Single Sign-On (SSO) with GitHub, GitLab, or Bitbucket </guides/setup-single-sign-on-github-gitlab-bitbucket> | ||
Single Sign-On (SSO) with Google Workspace </guides/setup-single-sign-on-google-email> | ||
Managing Read the Docs teams </guides/manage-read-the-docs-teams> | ||
Manually importing private repositories </guides/importing-private-repositories> | ||
Using private Git submodules </guides/private-submodules> | ||
Installing private python packages </guides/private-python-packages> |
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
@@ -0,0 +1,37 @@ | ||||||||||||
How-to guides: best practices | ||||||||||||
============================= | ||||||||||||
|
||||||||||||
Over the years, | ||||||||||||
we have become familiar with a number of methods that work well and which we consider **best practice**. | ||||||||||||
Comment on lines
+4
to
+5
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you update the suggestion? I can't quite make out what the intention was with the change. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not hugely important, just trying to clarify what the content is a bit more. But it's not my best writing, for sure. |
||||||||||||
|
||||||||||||
⏩️ :doc:`Best practices for linking to your documentation </guides/best-practice/links>` | ||||||||||||
Documentation changes over time, | ||||||||||||
and links and cross-references can become challenging manage for various reasons. | ||||||||||||
Here is a set of best practices explaining and addressing these challenges. | ||||||||||||
|
||||||||||||
⏩️ :doc:`Deprecating content </guides/deprecating-content>` | ||||||||||||
Best practice for removing or deprecating documentation content. | ||||||||||||
|
||||||||||||
⏩️ :doc:`Creating reproducible builds </guides/reproducible-builds>` | ||||||||||||
Every documentation project has dependencies that are required to build it. | ||||||||||||
Using an unspecified versions of these dependencies means that your project can start breaking. | ||||||||||||
In this guide, | ||||||||||||
learn how to protect your project against breaking randomly. | ||||||||||||
**This is one of our most popular guides!** | ||||||||||||
|
||||||||||||
⏩️ :doc:`Search Engine Optimization (SEO) for documentation projects </guides/technical-docs-seo-guide>` | ||||||||||||
This article explains how documentation can be optimized to appear in search results, | ||||||||||||
increasing traffic to your docs. | ||||||||||||
|
||||||||||||
⏩️ :doc:`Hiding a version </guides/hiding-a-version>` | ||||||||||||
Learn how you can keep your entire version history online without overwhelming the reader with version choices. | ||||||||||||
|
||||||||||||
.. toctree:: | ||||||||||||
:maxdepth: 1 | ||||||||||||
:hidden: | ||||||||||||
|
||||||||||||
Deprecating content </guides/deprecating-content> | ||||||||||||
Best practices for linking to your documentation </guides/best-practice/links> | ||||||||||||
Creating reproducible builds </guides/reproducible-builds> | ||||||||||||
Search Engine Optimization (SEO) for documentation projects </guides/technical-docs-seo-guide> | ||||||||||||
Hiding a version </guides/hiding-a-version> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
How-to guides: build process | ||
============================ | ||
|
||
⏩️ :doc:`Setup build notifications and webhooks </guides/build-notifications>` | ||
Build notifications can alert you when your builds fail so you can take immediate action. | ||
In this guide, | ||
you will learn how to get notified through various available channel integrations, | ||
including email and chat. | ||
benjaoming marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
⏩️ :doc:`Configuring pull request builds </guides/pull-requests>` | ||
Have your documentation built and access a preview for every :doc:`pull request builds </pull-requests>`. | ||
|
||
⏩️ :doc:`Using custom environment variables </guides/environment-variables>` | ||
Extra environment variables, for instance secrets, may be needed in the build process and can be defined from the project's :term:`dashboard`. | ||
|
||
⏩️ :doc:`Managing versions automatically </guides/automation-rules>` | ||
Automating your versioning on Read the Docs means you only have to handle your versioning logic in Git. | ||
Learn how to define rules to automate creation of new versions on Read the Docs, | ||
entirely using your Git repository's version logic. | ||
|
||
|
||
.. seealso: | ||
|
||
:doc:`/builds` | ||
An overview and introduction to the build process. | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
:hidden: | ||
|
||
Setup build notifications and webhooks </guides/build-notifications> | ||
benjaoming marked this conversation as resolved.
Show resolved
Hide resolved
|
||
Configuring pull request builds </guides/pull-requests> | ||
Using custom environment variables </guides/environment-variables> | ||
Managing versions automatically </guides/automation-rules> |
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,82 @@ | ||||||
How-to guides: content, themes and SEO | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is a weird title, and seems unrelated? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You mean than "content, themes and SEO" is a bad category? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'd rather represent each of these nouns than the alternatives:
But if there's better wording for this, that'd be great! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I just don't understand how these 3 things are related, and why only these things? It's a different style than all the other headings, so we should make it similar. Perhaps:
Suggested change
Or something? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The sub-levels were written more with an emphasis on "nouns" :) But yeah, I get that the current version has short-comings
I think that "Improving user experience" does get close to an understanding of how these things are related. The real issue is probably that we have a good technical understanding of what we mean by content vs. build and configuration. But we can't know if the reader knows where a "theme" fits in! Currently the menu looks like this: We could make a menu label that is like: "Content: Themes, SEO and more..." ? It's also a bit scoped around "Using your documentation tool on Read the Docs" or "Using Sphinx, MkDocs and other tools". There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've noted to get back to this! |
||||||
====================================== | ||||||
|
||||||
⏩️ :doc:`Search Engine Optimization (SEO) for documentation projects </guides/technical-docs-seo-guide>` | ||||||
This article explains how documentation can be optimized to appear in search results, | ||||||
ultimately increasing traffic to your docs. | ||||||
|
||||||
⏩️ :doc:`Enabling canonical URLs </guides/canonical-urls>` | ||||||
In this guide, we introduce relevant settings for enabling canonical URLs in popular documentation frameworks. | ||||||
|
||||||
⏩️ :doc:`Using traffic analytics </analytics>` | ||||||
In this guide, you can learn to use Read the Docs' built-in traffic analytics for your documentation project. | ||||||
You will also learn how to optionally add your own Google Analytics account or completely disable Google Analytics on your project. | ||||||
|
||||||
⏩️ :doc:`Managing translations for Sphinx projects </guides/manage-translations-sphinx>` | ||||||
This guide walks through the process needed to manage translations of your documentation. | ||||||
Once this work is done, you can setup your project under Read the Docs to build each language of your documentation by reading :doc:`/localization`. | ||||||
|
||||||
⏩️ :doc:`Supporting Unicode in Sphinx PDFs </guides/pdf-non-ascii-languages>` | ||||||
Sphinx offers different LaTeX engines that have better support for Unicode characters, relevant for instance for Japanese or Chinese. | ||||||
|
||||||
⏩️ :doc:`Cross-referencing with Sphinx </guides/cross-referencing-with-sphinx>` | ||||||
When writing documentation you often need to link to other pages of your documentation, | ||||||
other sections of the current page, or sections from other pages. | ||||||
|
||||||
⏩️ :doc:`Linking to other projects with Intersphinx </guides/intersphinx>` | ||||||
This section shows you how to maintain references to named sections of other external Sphinx projects. | ||||||
|
||||||
⏩️ :doc:`Using Jupyter notebooks in Sphinx </guides/jupyter>` | ||||||
There are a few extensions that allow integrating Jupyter and Sphinx, | ||||||
and this document will explain how to achieve some of the most commonly requested features. | ||||||
|
||||||
⏩️ :doc:`Migrating from rST to MyST </guides/migrate-rest-myst>` | ||||||
In this guide, you will find | ||||||
how you can start writing Markdown in your existing reStructuredText project, | ||||||
or migrate it completely. | ||||||
|
||||||
⏩️ :doc:`Enabling offline formats </guides/enable-offline-formats>` | ||||||
This guide provides step-by-step instructions to enabling offline formats of your documentation. | ||||||
|
||||||
⏩️ :doc:`Using search analytics </guides/search-analytics>` | ||||||
In this guide, you can learn to use Read the Docs' built-in search analytics for your documentation project. | ||||||
|
||||||
⏩️ :doc:`Adding custom CSS or JavaScript to Sphinx documentation </guides/adding-custom-css>` | ||||||
Adding additional CSS or JavaScript files to your Sphinx documentation | ||||||
can let you customize the look and feel of your docs | ||||||
or add additional functionality. | ||||||
|
||||||
⏩️ :doc:`Embedding content from your documentation </guides/embedding-content>` | ||||||
Did you know that Read the Docs has a public API that you can use to embed documentation content? | ||||||
There are a number of use cases for embedding content, | ||||||
so we've built our integration in a way that enables users to build on top of it. | ||||||
|
||||||
⏩️ :doc:`Removing "Edit on ..." buttons from documentation </guides/remove-edit-buttons>` | ||||||
When building your documentation, | ||||||
Read the Docs automatically adds buttons at the top of your documentation and in the versions menu that point readers to your repository to make changes. | ||||||
Here's how to remove it. | ||||||
|
||||||
⏩️ :doc:`Adding "Edit Source" links on your Sphinx theme </guides/edit-source-links-sphinx>` | ||||||
Using your own theme? | ||||||
Read the Docs injects some extra variables in the Sphinx ``html_context``, | ||||||
some of which you can use to add an "edit source" link at the top of all pages. | ||||||
|
||||||
.. toctree:: | ||||||
:maxdepth: 1 | ||||||
:hidden: | ||||||
|
||||||
Search Engine Optimization (SEO) for documentation projects </guides/technical-docs-seo-guide> | ||||||
Using traffic analytics </analytics> | ||||||
Using search analytics </guides/search-analytics> | ||||||
Enabling canonical URLs </guides/canonical-urls> | ||||||
Enabling offline formats </guides/enable-offline-formats> | ||||||
Embedding content from your documentation </guides/embedding-content> | ||||||
Managing translations for Sphinx projects </guides/manage-translations-sphinx> | ||||||
Supporting Unicode in Sphinx PDFs </guides/pdf-non-ascii-languages> | ||||||
Cross-referencing with Sphinx </guides/cross-referencing-with-sphinx> | ||||||
Linking to other projects with Intersphinx </guides/intersphinx> | ||||||
Using Jupyter notebooks in Sphinx </guides/jupyter> | ||||||
Migrating from rST to MyST </guides/migrate-rest-myst> | ||||||
Adding custom CSS or JavaScript to Sphinx documentation </guides/adding-custom-css> | ||||||
Removing "Edit on ..." buttons from documentation </guides/remove-edit-buttons> | ||||||
Adding "Edit Source" links on your Sphinx theme </guides/edit-source-links-sphinx> |
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯