Skip to content

Commit b9bd481

Browse files
authored
Merge pull request #1110 from VisLab/action_update
Updated the docs style to sphinx and fuso
2 parents 0adf8a9 + 4d63a00 commit b9bd481

21 files changed

+586
-867
lines changed

.codespellrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[codespell]
2+
skip = .git,*.pdf,*.svg,deprecated,*.xml,*.mediawiki,*.omn
3+
ignore-words-list = covert,hed,recuse,disjointness

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
runs-on: ${{ matrix.platform }}
3939

4040
steps:
41-
- uses: actions/checkout@v4
41+
- uses: actions/checkout@v5
4242
with:
4343
submodules: true
4444

.github/workflows/docs.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,17 @@ jobs:
4848
git config user.email github-actions@github.com
4949
5050
- name: Build documentation
51-
run: mkdocs build --strict
51+
run: |
52+
cd docs
53+
sphinx-build -b html . _build/html
5254
5355
- name: Setup Pages
5456
uses: actions/configure-pages@v5
5557

5658
- name: Upload artifact
5759
uses: actions/upload-pages-artifact@v3
5860
with:
59-
path: ./site
61+
path: ./docs/_build/html
6062

6163
#------------------------------------------------
6264
# Deploy Job: Deploys the built site

build_docs.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/api/errors.md

Lines changed: 0 additions & 116 deletions
This file was deleted.

docs/api/errors.rst

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
Errors
2+
======
3+
4+
Error handling and reporting classes for HED validation and processing.
5+
6+
Error Types and Constants
7+
-------------------------
8+
9+
HedExceptions
10+
~~~~~~~~~~~~~
11+
12+
.. autoclass:: hed.errors.exceptions.HedExceptions
13+
:members:
14+
:undoc-members:
15+
:show-inheritance:
16+
17+
HedFileError
18+
~~~~~~~~~~~~
19+
20+
.. autoclass:: hed.errors.exceptions.HedFileError
21+
:members:
22+
:undoc-members:
23+
:show-inheritance:
24+
25+
Error Reporting
26+
---------------
27+
28+
ErrorHandler
29+
~~~~~~~~~~~~
30+
31+
.. autoclass:: hed.errors.error_reporter.ErrorHandler
32+
:members:
33+
:undoc-members:
34+
:show-inheritance:
35+
36+
Error Functions
37+
~~~~~~~~~~~~~~~
38+
39+
.. autofunction:: hed.errors.error_reporter.get_printable_issue_string
40+
41+
.. autofunction:: hed.errors.error_reporter.sort_issues
42+
43+
.. autofunction:: hed.errors.error_reporter.replace_tag_references
44+
45+
Error Types
46+
-----------
47+
48+
ValidationErrors
49+
~~~~~~~~~~~~~~~~
50+
51+
.. autoclass:: hed.errors.error_types.ValidationErrors
52+
:members:
53+
:undoc-members:
54+
:show-inheritance:
55+
56+
SchemaErrors
57+
~~~~~~~~~~~~
58+
59+
.. autoclass:: hed.errors.error_types.SchemaErrors
60+
:members:
61+
:undoc-members:
62+
:show-inheritance:
63+
64+
SidecarErrors
65+
~~~~~~~~~~~~~
66+
67+
.. autoclass:: hed.errors.error_types.SidecarErrors
68+
:members:
69+
:undoc-members:
70+
:show-inheritance:
71+
72+
ErrorContext
73+
~~~~~~~~~~~~
74+
75+
.. autoclass:: hed.errors.error_types.ErrorContext
76+
:members:
77+
:undoc-members:
78+
:show-inheritance:
79+
80+
ErrorSeverity
81+
~~~~~~~~~~~~~
82+
83+
.. autoclass:: hed.errors.error_types.ErrorSeverity
84+
:members:
85+
:undoc-members:
86+
:show-inheritance:

docs/api/index.md

Lines changed: 0 additions & 62 deletions
This file was deleted.

docs/api/index.rst

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
API Reference
2+
=============
3+
4+
This section contains the complete API reference for HED Python Tools.
5+
6+
.. toctree::
7+
:maxdepth: 2
8+
9+
models
10+
schema
11+
validator
12+
tools
13+
errors
14+
15+
Core Modules Overview
16+
---------------------
17+
18+
The HED Python Tools package is organized into several key modules:
19+
20+
* **Models**: Core data structures for HED annotations and tags
21+
* **Schema**: HED schema management and validation
22+
* **Validator**: Validation tools for HED data
23+
* **Tools**: Utility functions and data processing tools
24+
* **Errors**: Error handling and reporting classes

0 commit comments

Comments
 (0)