Skip to content

Commit cd6b1de

Browse files
authored
Merge branch 'main' into allow-dates-with-no-times
2 parents 6c0afbd + e5ca1d9 commit cd6b1de

File tree

4 files changed

+27
-2
lines changed

4 files changed

+27
-2
lines changed

.readthedocs.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Read the Docs configuration file
2+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3+
4+
# Required
5+
version: 2
6+
7+
build:
8+
os: ubuntu-22.04
9+
tools:
10+
python: "3.12"
11+
12+
# Build documentation in the docs/ directory with Sphinx
13+
sphinx:
14+
configuration: source/conf.py
15+
16+
# Optionally build your docs in additional formats such as PDF and ePub
17+
formats: all
18+
19+
# Optionally set the version of Python and requirements required to build your docs
20+
python:
21+
install:
22+
- requirements: requirements-doc.txt

Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
The NWB specification language defines formal structures for describing the organization of complex data using basic
44
concepts, e.g., Groups, Datasets, Attributes, and Links. See the
5-
[documentation](http://nwb-schema-language.readthedocs.io/) for more information and release notes.
5+
[documentation](https://schema-language.readthedocs.io/en/latest/) for more information and release notes.
66

77
The NWB specification language is used by the [Neurodata Without Borders (NWB)](https://www.nwb.org) neurophysiology
88
data standard and is based off of the [Hierarchical Data Modeling Framework (HDMF)](https://github.com/hdmf-dev/hdmf)

requirements-doc.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
ruamel.yaml
2+
sphinx
3+
sphinx_rtd_theme

source/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,8 @@
107107
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
108108

109109
with open('namespace_map.yml', 'r') as f:
110-
namespace_map = yaml.safe_load(f)
110+
yaml = yaml.YAML(typ='safe', pure=True)
111+
namespace_map = yaml.load(f)
111112

112113

113114
def rstjinja(app, docname, source):

0 commit comments

Comments
 (0)