Skip to content

Commit

Permalink
Make doc build warnings non-blocking
Browse files Browse the repository at this point in the history
  • Loading branch information
kroenlein committed Apr 18, 2024
1 parent 01a9e1d commit ec7e66a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
check-docs:
name: Check docs for warnings
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v4
- name: Initialize the environment
Expand Down
6 changes: 3 additions & 3 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import gemd
import os
import sys
sys.path.insert(0, os.path.abspath('../..'))
sys.path.insert(0, os.path.abspath('../../gemd'))


# -- Project information -----------------------------------------------------
Expand All @@ -36,7 +36,8 @@
extensions = [
'sphinxcontrib.apidoc',
'sphinx.ext.napoleon',
'sphinx.ext.intersphinx'
'sphinx.ext.intersphinx',
'sphinx_rtd_theme'
]

# Use the sphinxcontrib.apidoc extension to wire in the sphinx-apidoc invocation
Expand All @@ -48,7 +49,6 @@
apidoc_output_dir = 'reference'
apidoc_excluded_paths = ['tests', '*impl*']
apidoc_separate_modules = True
apidoc_toc_file = False

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
Expand Down
8 changes: 2 additions & 6 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ or a specific version can be installed, for example:

.. code:: bash
pip install gemd==1.17.1
pip install gemd==2.1.1
Table of Contents
-----------------
Expand All @@ -37,15 +37,11 @@ Table of Contents

depth/unit_parsing
depth/serialization
API Reference <reference/modules>

Indices
------------------

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`

.. toctree::
:maxdepth: 1

reference/gemd

0 comments on commit ec7e66a

Please sign in to comment.