-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Removed support for Python 3.8, since it's unsupported by the latest `sphinx`. - Added `doc` dir with minimal docs. - Added docs build check in `build` workflow.
- Loading branch information
Showing
8 changed files
with
678 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ | |
/.mypy_cache | ||
/.venv | ||
/dist | ||
/docs/_build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
from __future__ import annotations | ||
|
||
from datetime import date | ||
from pathlib import Path | ||
|
||
import tomli | ||
|
||
_root = Path(__file__).parent.parent | ||
_poetry = tomli.loads((_root / "pyproject.toml").read_text())["tool"]["poetry"] | ||
|
||
project = _poetry["name"] | ||
release = version = _poetry["version"] | ||
author = ", ".join(author[0] for author in _poetry["authors"]) | ||
copyright = f"{date.today().year} Dave Hall" | ||
|
||
exclude_patterns = ["_build"] | ||
|
||
html_theme = "furo" | ||
html_title = _poetry["name"] | ||
|
||
extensions = [ | ||
"sphinx.ext.autodoc", | ||
"sphinx.ext.intersphinx", | ||
] | ||
|
||
autoclass_content = "both" | ||
autodoc_default_options = { | ||
"members": True, | ||
"undoc-members": True, | ||
} | ||
autodoc_member_order = "groupwise" | ||
autodoc_typehints = "both" | ||
|
||
intersphinx_mapping = { | ||
"python": ("https://docs.python.org/3", None), | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Log-based testing | ||
================= | ||
|
||
.. automodule:: logot | ||
|
||
.. toctree:: | ||
:caption: Contents | ||
:hidden: | ||
:maxdepth: 1 | ||
|
||
self | ||
match | ||
util |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Matching logs | ||
============= | ||
|
||
.. automodule:: logot.match |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Utilities | ||
========= | ||
|
||
.. automodule:: logot.util |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters