Skip to content

Commit

Permalink
Fix code auto documentation
Browse files Browse the repository at this point in the history
Fix linter errors
  • Loading branch information
ByteOtter committed Jun 14, 2024
1 parent 8f63980 commit 639cc81
Show file tree
Hide file tree
Showing 11 changed files with 26 additions and 4 deletions.
2 changes: 2 additions & 0 deletions docs/code-autodoc/cobbler_tftp.exceptions.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
:no-index:

cobbler\_tftp.exceptions package
================================

Expand Down
2 changes: 2 additions & 0 deletions docs/code-autodoc/cobbler_tftp.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
:no-index:

cobbler\_tftp package
=====================

Expand Down
2 changes: 2 additions & 0 deletions docs/code-autodoc/cobbler_tftp.server.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
:no-index:

cobbler\_tftp.server package
============================

Expand Down
2 changes: 2 additions & 0 deletions docs/code-autodoc/cobbler_tftp.settings.data.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
:no-index:

cobbler\_tftp.settings.data package
===================================

Expand Down
2 changes: 2 additions & 0 deletions docs/code-autodoc/cobbler_tftp.settings.migrations.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
:no-index:

cobbler\_tftp.settings.migrations package
=========================================

Expand Down
2 changes: 2 additions & 0 deletions docs/code-autodoc/cobbler_tftp.settings.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
:no-index:

cobbler\_tftp.settings package
==============================

Expand Down
2 changes: 2 additions & 0 deletions docs/code-autodoc/cobbler_tftp.types.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
:no-index:

cobbler\_tftp.types package
===========================

Expand Down
2 changes: 2 additions & 0 deletions docs/code-autodoc/modules.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
:no-index:

cobbler\_tftp
=============

Expand Down
8 changes: 7 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#
# For the full list of built-in configuration values, see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html

# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information

Expand All @@ -18,6 +17,13 @@
templates_path = ["_templates"]
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]

source_suffix = ".rst"

master_doc = "index"

language = "en"

pygments_style = "sphinx"

# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
Expand Down
4 changes: 2 additions & 2 deletions docs/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ These **will override the configuration from your configuration file**.

Cobbler-TFTP will automatically search for environment variables in this format:

.. code-block:: bash
.. code-block:: text
COBBLER_TFTP__<PARENT_KEY>__<CHILD_KEY>__<...>__<KEY>=<VALUE>
Expand All @@ -65,7 +65,7 @@ parameters.

These must be given in the format:

.. code-block:: bash
.. code-block:: text
<PARENT_KEY>.<CHILD_KEY>.<..>.<KEY>=<VALUE>
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Cobbler-TFTP is a stateless TFTP server for the dynamic creation of configuratio
.. toctree::
:maxdepth: 2
:caption: Contents:

Quickstart Guide <quickstart-guide>
Installation <installation>
Configuration <configuration>
Expand Down

0 comments on commit 639cc81

Please sign in to comment.