Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions docs/about/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
About
=====

pyosMeta is the package used by pyOpenSci to update contributor metadata and
peer-review package metadata that powers sections of the pyOpenSci website.

Current CLI entry points include:

* ``parse-history``
* ``update-contributors``
* ``update-reviews``
* ``update-review-teams``
* ``fetch-rss-feed``

Project resources
-----------------

* `Repository <https://github.com/pyOpenSci/pyosMeta>`_
* `Issue tracker <https://github.com/pyOpenSci/pyosMeta/issues>`_
* `pyOpenSci <https://www.pyopensci.org/>`_
7 changes: 7 additions & 0 deletions docs/api/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
API Reference
=============

.. toctree::
:maxdepth: 2

pyosmeta
23 changes: 23 additions & 0 deletions docs/api/pyosmeta.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
pyosmeta package
================

Top-level package
-----------------

.. automodule:: pyosmeta
:members:
:show-inheritance:

Core modules
------------

.. autosummary::
:toctree: generated

pyosmeta.contributors
pyosmeta.file_io
pyosmeta.github_api
pyosmeta.parse_issues
pyosmeta.parse_rss
pyosmeta.utils_clean
pyosmeta.utils_parse
31 changes: 31 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
"""Sphinx configuration for pyosMeta docs."""

from __future__ import annotations

import os
import sys
from datetime import datetime

sys.path.insert(0, os.path.abspath("../src"))

project = "pyosMeta"
author = "pyOpenSci"
copyright = f"{datetime.now().year}, {author}"

extensions = [
"sphinx.ext.autodoc",
"sphinx.ext.autosummary",
"sphinx.ext.napoleon",
]

exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]

autosummary_generate = True
autodoc_default_options = {
"members": True,
"undoc-members": False,
"show-inheritance": True,
}

html_theme = "pydata_sphinx_theme"
html_title = "pyosMeta documentation"
28 changes: 28 additions & 0 deletions docs/contributing/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
Contributing And Development
============================

Contributions are welcome.

For now, use these project guides as the canonical references:

* `Contributing guide <https://github.com/pyOpenSci/pyosMeta/blob/main/CONTRIBUTING.md>`_
* `Development guide <https://github.com/pyOpenSci/pyosMeta/blob/main/development.md>`_

Local setup quick start
-----------------------

1. Create or activate your Python environment.
2. Install pyosMeta in editable mode with development dependencies:

.. code-block:: console

pip install -e ".[dev]"

3. Run tests:

.. code-block:: console

hatch run test:run-coverage

As docs evolve, this section can be expanded with contributor workflows,
testing guidance, and release procedures from the repository guides.
15 changes: 15 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
pyosMeta Documentation
======================

pyosMeta provides tooling used by pyOpenSci to maintain contributor and
peer-review metadata published on pyopensci.org.

This is an initial documentation structure that will be expanded over time.

.. toctree::
:maxdepth: 2
:caption: Documentation

about/index
contributing/index
api/index
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ readme = "README.md"
license = { text = "MIT" }

[project.optional-dependencies]
docs = [
"pydata-sphinx-theme",
"sphinx",
"sphinx-autosummary-accessors",
]
dev = [
"black",
"flake8",
Expand Down
Loading