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 }}
Repository navigation
Commit 7b05cee
Browse filesBrowse the repository at this point in the historyBrowse files
You can also create `badges from GitHub Actions <https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/adding-a-workflow-status-badge>`__.
Copy file name to clipboardExpand all lines: docs/source/documentation.rst
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -92,8 +92,8 @@ Adding new pages to your documentation amount to:
92
92
#. Rebuilding the documentation, e.g. with ``make html``.
93
93
94
94
You may also need to edit the ``conf.py`` file to use different features.
95
-
Check out our `index.rst <https://raw.githubusercontent.com/ebezzam/python-dev-tips/feat/docs/docs/source/index.rst>`__
96
-
and `conf.py <https://github.com/ebezzam/python-dev-tips/blob/feat/docs/docs/source/conf.py>`__
95
+
Check out our `index.rst <https://raw.githubusercontent.com/ebezzam/python-dev-tips/main/docs/source/index.rst>`__
96
+
and `conf.py <https://github.com/ebezzam/python-dev-tips/blob/main/docs/source/conf.py>`__
97
97
files for example configurations.
98
98
99
99
@@ -108,10 +108,10 @@ You can do a clean build of your documentation with the following commands:
108
108
Pro-tips
109
109
--------
110
110
111
-
* Changing to the ReadTheDocs theme inside `conf.py <https://github.com/ebezzam/python-dev-tips/blob/ec6b15c6718b96e2c1a00496d2cf7005755d006c/docs/source/conf.py#L75>`__.
111
+
* Changing to the ReadTheDocs theme inside `conf.py <https://github.com/ebezzam/python-dev-tips/blob/e51dd62a2dd156fdd3e559be3930f87f2a4e6405/docs/source/conf.py#L75>`__.
112
112
* `Intersphinx <https://docs.readthedocs.io/en/stable/guides/intersphinx.html>`__ for linking to other documentations.
113
-
In the ``conf.py`` file: `add <https://github.com/ebezzam/python-dev-tips/blob/ec6b15c6718b96e2c1a00496d2cf7005755d006c/docs/source/conf.py#L43>`__
114
-
the Sphinx extension, and `link <https://github.com/ebezzam/python-dev-tips/blob/ec6b15c6718b96e2c1a00496d2cf7005755d006c/docs/source/conf.py#L54>`__
113
+
In the ``conf.py`` file: `add <https://github.com/ebezzam/python-dev-tips/blob/e51dd62a2dd156fdd3e559be3930f87f2a4e6405/docs/source/conf.py#L43>`__
114
+
the Sphinx extension, and `link <https://github.com/ebezzam/python-dev-tips/blob/e51dd62a2dd156fdd3e559be3930f87f2a4e6405/docs/source/conf.py#L54>`__
115
115
to the other documentation. Inside your documentation you can link to the other library, e.g.
116
116
for data types:
117
117
@@ -129,10 +129,10 @@ Pro-tips
129
129
130
130
which renders as in :func:`pydevtips.fftconvolve.RFFTConvolve.__init__`
131
131
with a clickable link to NumPy's documentation.
132
-
* `Mock modules <https://github.com/ebezzam/python-dev-tips/blob/ec6b15c6718b96e2c1a00496d2cf7005755d006c/docs/source/conf.py#L24>`__ to keep your documentation virtual environment light.
133
-
* `Add the path <https://github.com/ebezzam/python-dev-tips/blob/feat/docs/docs/source/conf.py#L22>`__
132
+
* `Mock modules <https://github.com/ebezzam/python-dev-tips/blob/e51dd62a2dd156fdd3e559be3930f87f2a4e6405/docs/source/conf.py#L24>`__ to keep your documentation virtual environment light.
133
+
* `Add the path <https://github.com/ebezzam/python-dev-tips/blob/e51dd62a2dd156fdd3e559be3930f87f2a4e6405/docs/source/conf.py#L22>`__
134
134
to your package, so that it doesn't have to be installed (again keeping your documentation environment light!).
135
-
* `Automate year <https://github.com/ebezzam/python-dev-tips/blob/ec6b15c6718b96e2c1a00496d2cf7005755d006c/docs/source/conf.py#L32>`__.
135
+
* `Automate year <https://github.com/ebezzam/python-dev-tips/blob/e51dd62a2dd156fdd3e559be3930f87f2a4e6405/docs/source/conf.py#L32>`__.
136
136
137
137
138
138
Publishing
@@ -150,5 +150,5 @@ To publish on RTD:
150
150
#. Import a project from the `dashboard <https://readthedocs.org/dashboard/>`__. There are two ways to do this: (1) linking your GitHub account and selecting one of your **public** repositories, or (2) importing the project manually. When linking to GitHub, the documentation is re-built whenever there are changes to the selected branch.
151
151
#. Check your project page for the build status.
152
152
153
-
You can (optionally) define a `.readthedocs.yaml <https://github.com/ebezzam/python-dev-tips/blob/feat/docs/.readthedocs.yaml>`__
153
+
You can (optionally) define a `.readthedocs.yaml <https://github.com/ebezzam/python-dev-tips/blob/main/.readthedocs.yaml>`__
154
154
file to ensure a build environment as close as possible to your local machine.
0 commit comments