remove backend docs dir (#325)

* remove backend docs dir

* remove reference to gone dir

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
This commit is contained in:
Kevin Burnett 2023-06-12 09:28:58 -07:00 committed by GitHub
parent a14072c0b6
commit 41ccb7d863
10 changed files with 6 additions and 58 deletions

View File

@ -6,6 +6,10 @@
# -- Project information ----------------------------------------------------- # -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
# note that backend had autoapi hooked up at one point to generate python API docs.
# if we want that again some day, here were the docs in that sub-folder docs dir:
# https://github.com/sartography/spiff-arena/blob/d9b303db782b1004a818c426283e9cfbc5ed0ec7/spiffworkflow-backend/docs/conf.py
project = 'SpiffWorkflow' project = 'SpiffWorkflow'
copyright = '2023, Sartography' copyright = '2023, Sartography'
author = 'Sartography' # Very ok to add your name here. author = 'Sartography' # Very ok to add your name here.
@ -44,4 +48,4 @@ html_theme_options = {
} }
html_css_files = ["custom.css"] html_css_files = ["custom.css"]

View File

@ -1 +0,0 @@
.. include:: ../CODE_OF_CONDUCT.rst

View File

@ -1,16 +0,0 @@
"""Sphinx configuration."""
from datetime import datetime
project = "Spiffworkflow Backend"
author = "Sartography"
copyright = f"{datetime.now().year}, {author}"
extensions = [
"sphinx.ext.napoleon",
"autoapi.extension",
"sphinx_click",
]
# https://github.com/readthedocs/sphinx-autoapi
autoapi_type = "python"
autoapi_dirs = ["../src"]
html_theme = "furo"

View File

@ -1,4 +0,0 @@
.. include:: ../CONTRIBUTING.rst
:end-before: github-only
.. _Code of Conduct: codeofconduct.html

View File

@ -1,16 +0,0 @@
.. include:: ../README.rst
:end-before: github-only
.. _Contributor Guide: contributing.html
.. _Usage: usage.html
.. toctree::
:hidden:
:maxdepth: 1
usage
reference
contributing
Code of Conduct <codeofconduct>
License <license>
Changelog <https://github.com/sartography/spiffworkflow-backend/releases>

View File

@ -1 +0,0 @@
.. include:: ../LICENSE.rst

View File

@ -1,9 +0,0 @@
Reference
=========
spiffworkflow_backend
----------
.. automodule:: spiffworkflow_backend
:members:

View File

@ -1,3 +0,0 @@
furo==2023.5.20
sphinx==5.3.0
sphinx-click==4.4.0

View File

@ -1,6 +0,0 @@
Usage
=====
.. click:: spiffworkflow_backend.__main__:main
:prog: spiffworkflow-backend
:nested: full

View File

@ -138,7 +138,7 @@ def safety(session: Session) -> None:
@session(python=python_versions) @session(python=python_versions)
def mypy(session: Session) -> None: def mypy(session: Session) -> None:
"""Type-check using mypy.""" """Type-check using mypy."""
args = session.posargs or ["src", "tests", "docs/conf.py"] args = session.posargs or ["src", "tests"]
session.install(".") session.install(".")
session.install("mypy") session.install("mypy")
session.run("mypy", *args) session.run("mypy", *args)