Skip to content

Commit

Permalink
docs in standard layout
Browse files Browse the repository at this point in the history
  • Loading branch information
David Erb committed Jun 7, 2023
1 parent c4a2c8e commit c40e828
Show file tree
Hide file tree
Showing 21 changed files with 96 additions and 51 deletions.
2 changes: 1 addition & 1 deletion .dae-devops/project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
primary:
repository_name: dls-normsql
package_name: dls_normsql
one_line_description: "Normalized API over various sql libraries."
one_line_description: "Normalized API over various sql libraries for consistency across multiple projects."
author:
name: David Erb
email: [email protected]
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
dls-normsql
=======================================================================

Normalized API over various sql libraries for consistency across multiple projects.

43 changes: 0 additions & 43 deletions README.rst

This file was deleted.

4 changes: 4 additions & 0 deletions docs/explanations/conventions.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
..
Use the file automatically generated by dae-devops.
.. include:: ../../.dae-devops/docs/conventions.rst
4 changes: 4 additions & 0 deletions docs/explanations/docs_structure.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
..
Use the file automatically generated by dae-devops.
.. include:: ../../.dae-devops/docs/docs_structure.rst
12 changes: 12 additions & 0 deletions docs/explanations/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
:orphan:

Explanations
============

Explanation, or discussions, clarify and illuminate a particular topic. They broaden the documentation's coverage of a topic.

.. toctree::

docs_structure
conventions
todo
7 changes: 7 additions & 0 deletions docs/explanations/todo.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
TODO
=======================================================================

- Remove matplotlib from imports done by mib2hdfConvert package to decrease load time and debug volume.
- Make sure we can collect and process mib files which are not in a material subdirectory.
- Add unit tests for the mib_convert task.

4 changes: 4 additions & 0 deletions docs/how-to/developing.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
..
Use the file automatically generated by dae-devops.
.. include:: ../../.dae-devops/docs/developing.rst
4 changes: 4 additions & 0 deletions docs/how-to/devops.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
..
Use the file automatically generated by dae-devops.
.. include:: ../../.dae-devops/docs/devops.rst
4 changes: 4 additions & 0 deletions docs/how-to/documenting.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
..
Use the file automatically generated by dae-devops.
.. include:: ../../.dae-devops/docs/documenting.rst
16 changes: 16 additions & 0 deletions docs/how-to/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
:orphan:

How-to Guides
=============

How-to guides take the reader through the steps required to solve a real-world problem.
Practical step-by-step guides for the more experienced user.

.. toctree::

installing
developing
testing
documenting
devops

6 changes: 6 additions & 0 deletions docs/how-to/installing.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
..
Use the file automatically generated by dae-devops.
.. include:: ../../.dae-devops/docs/installing.rst

Since this package is just a library, the command line doesn't do anything else besides print the version.
4 changes: 4 additions & 0 deletions docs/how-to/testing.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
..
Use the file automatically generated by dae-devops.
.. include:: ../../.dae-devops/docs/testing.rst
13 changes: 8 additions & 5 deletions docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
dls-normsql
=======================================================================

.. include:: ../README.rst
:end-before: when included in index.rst
Normalized API over various sql libraries for consistency across multiple projects.

.. toctree::
:caption: API-caption
:hidden:
:titlesonly:

api/index
tutorials/index
how-to/index
explanations/index
reference/index
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
11 changes: 11 additions & 0 deletions docs/tutorials/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
:orphan:

Tutorials
=========

Tutorials are lessons that take the reader by the hand through a series of steps to complete a project of some kind.
They are what your project needs in order to show a beginner that they can achieve something with it.

.. toctree::

tbd
4 changes: 4 additions & 0 deletions docs/tutorials/tbd.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
TBD Tutorial
=======================================================================

TBD
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ classifiers = [
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.10",
]
description = "Normalized API over various sql libraries."
description = "Normalized API over various sql libraries for consistency across multiple projects."
dependencies = ["dls-utilpack", "aiosqlite", "aiomysql", "cryptography"]
dynamic = ["version"]
license.file = "LICENSE"
Expand Down Expand Up @@ -100,4 +100,4 @@ source = ["src", "**/site-packages/"]
[tool.tox]
legacy_tox_ini = "[tox]\nskipsdist=True\n\n[testenv:{pre-commit,mypy,pytest,docs}]\n# Don't create a virtualenv for the command, requires tox-direct plugin\ndirect = True\npassenv = *\nallowlist_externals = \n pytest \n pre-commit\n mypy\n sphinx-build\n sphinx-autobuild\ncommands =\n pytest: pytest {posargs}\n mypy: mypy src tests {posargs}\n pre-commit: pre-commit run --all-files {posargs}\n docs: sphinx-{posargs:build -EW --keep-going} -T docs build/html\n"

# dae_devops_fingerprint df8767613c8b867ee1ddb91dd8b71fca
# dae_devops_fingerprint aec34b4646849a704b0974693e0148cc

0 comments on commit c40e828

Please sign in to comment.