Skip to content

Commit

Permalink
Initial docs publication
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebachmeier committed Dec 16, 2024
1 parent cedc900 commit b1179b6
Show file tree
Hide file tree
Showing 14 changed files with 101 additions and 10 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,8 @@ jobs:
- name: Test
run: |
pytest ./tests
- name: Build Docs
run: |
pip install -r docs/requirements.txt
make html -C docs/ SPHINXOPTS="-W --keep-going -n"
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
**0.1.2 - 12/16/24**

- Initial documentation publication

**0.1.1 - 12/10/24**

- Implement pipeline choice sections
Expand Down
8 changes: 7 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ pipeline {
}
}

stage("Test") {
stage("Test and Build Docs") {
parallel {
stage("Run End-to-End Tests") {
steps {
Expand Down Expand Up @@ -194,6 +194,12 @@ pipeline {
])
}
}

stage("Build Docs") {
steps {
sh "${ACTIVATE} && make build-doc"
}
}
}
}
}
Expand Down
Empty file added docs/nitpick-exceptions
Empty file.
1 change: 1 addition & 0 deletions docs/source/api_reference/cli.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.. automodule:: easylink.cli
10 changes: 10 additions & 0 deletions docs/source/api_reference/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
API Reference
=============

.. automodule:: easylink

.. toctree::
:maxdepth: 1
:glob:

*
10 changes: 10 additions & 0 deletions docs/source/concepts/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.. _concepts_main:

========
Concepts
========
Here we cover several core conceptual topics related using EasyLink.

.. todo::

Everything
2 changes: 0 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@
"sphinx.ext.napoleon",
"sphinx.ext.viewcode",
"sphinx_click.ext",
"matplotlib.sphinxext.plot_directive",
"sphinxcontrib.video",
]

# Add any paths that contain templates here, relative to this directory.
Expand Down
16 changes: 15 additions & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,18 @@
EasyLink Documentation
======================

EasyLink is a framework for ... tbd
EasyLink is a framework for ...

.. todo::

Everything


.. toctree::
:maxdepth: 2

installation
tutorials/index
concepts/index
api_reference/index
glossary
5 changes: 4 additions & 1 deletion docs/source/installation.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _installation:

===================
Installing EasyLink
===================
Expand All @@ -9,5 +11,6 @@ Installing EasyLink

.. highlight:: console

tbd
.. todo::

Everything
9 changes: 9 additions & 0 deletions docs/source/tutorials/getting_started.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.. _getting_started_tutorial:

===============
Getting Started
===============

.. todo::

Everything
21 changes: 21 additions & 0 deletions docs/source/tutorials/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
.. _tutorial_main:

=========
Tutorials
=========
Here you'll find a set of tutorials to introduce concepts and functionality
available in the ``easylink`` package.

Before digging into the tutorials, please walk through the
:doc:`getting started <getting_started>` guide.

.. todo::

Everything


.. toctree::
:maxdepth: 1
:glob:

*
16 changes: 13 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,22 @@
setup_requires = ["setuptools_scm"]

# use "pip install -e .[dev]" to install required components + extra components
data_requires = []
test_requirements = [
"pytest",
"pytest-cov",
"pytest-mock",
]
doc_requirements = [
"sphinx>=4.0,<8.0.0",
"sphinx-rtd-theme>=0.6",
"sphinx-autodoc-typehints",
"sphinx-click",
]
lint_requirements = [
"black==22.3.0",
"isort",
"mypy",
]

setup(
name=about["__title__"],
Expand All @@ -53,9 +63,9 @@
include_package_data=True,
install_requires=install_requirements,
extras_require={
"docs": doc_requirements,
"test": test_requirements,
"data": data_requires,
"dev": test_requirements + data_requires,
"dev": doc_requirements + test_requirements + lint_requirements,
},
zip_safe=False,
use_scm_version={
Expand Down
4 changes: 2 additions & 2 deletions src/easylink/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""
======
========
EasyLink
======
========
Research repository for the EasyLink ER ecosystem project.
Expand Down

0 comments on commit b1179b6

Please sign in to comment.