Skip to content
Snippets Groups Projects
Unverified Commit 8d962826 authored by Georg Krause's avatar Georg Krause
Browse files

Migrate documentation to markdown

parent 7850ad79
No related branches found
No related tags found
No related merge requests found
Pipeline #20029 failed
...@@ -30,7 +30,8 @@ ...@@ -30,7 +30,8 @@
# Add any Sphinx extension module names here, as strings. They can be # Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones. # ones.
extensions = ["sphinx.ext.autodoc", "sphinx.ext.viewcode", "sphinx.ext.githubpages"] extensions = ["sphinx.ext.autodoc", "sphinx.ext.viewcode",
"sphinx.ext.githubpages", "myst_parser"]
# Add any paths that contain templates here, relative to this directory. # Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"] templates_path = ["_templates"]
...@@ -39,7 +40,11 @@ templates_path = ["_templates"] ...@@ -39,7 +40,11 @@ templates_path = ["_templates"]
# You can specify multiple suffix as a list of string: # You can specify multiple suffix as a list of string:
# #
# source_suffix = ['.rst', '.md'] # source_suffix = ['.rst', '.md']
source_suffix = ".rst" source_suffix = {
'.rst': 'restructuredtext',
'.txt': 'markdown',
'.md': 'markdown',
}
# The master toctree document. # The master toctree document.
master_doc = "index" master_doc = "index"
......
.. include:: ../README.rst ```{include} ../README.md
```
API documentation # API documentation
=================
```{eval-rst}
.. automodule:: requests_http_message_signatures .. automodule:: requests_http_message_signatures
:members: :members:
:special-members: :special-members:
```
.. toctree::
:maxdepth: 2
:caption: Contents:
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
...@@ -27,6 +27,7 @@ requests = "^2" ...@@ -27,6 +27,7 @@ requests = "^2"
[tool.poetry.dev-dependencies] [tool.poetry.dev-dependencies]
Sphinx = "^4.5.0" Sphinx = "^4.5.0"
coverage = "^6.3.2" coverage = "^6.3.2"
myst-parser = "^0.17.0"
[build-system] [build-system]
requires = ["poetry-core>=1.0.0"] requires = ["poetry-core>=1.0.0"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment