Skip to content

Commit

Permalink
docs: initial docs work (#343)
Browse files Browse the repository at this point in the history
There's a lot of TODOs to... do, still, but this pins some rudimentary
progress.

* Add docs skeleton, boilerplate
* First stab at setup instructions (they are a doozy)

Major remaining items in future PRs:
* some kind of big sources overview page
* description of harvest/transform procedure, references to VA/VRS
* more description of normalization
  • Loading branch information
jsstevenson authored Jun 26, 2024
1 parent 84e65fa commit 659b051
Show file tree
Hide file tree
Showing 73 changed files with 941 additions and 754 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,23 @@ jobs:

- name: Check style
run: python3 -m ruff check . && python3 -m ruff format --check .
docs:
runs-on: ubuntu-latest
env:
SPHINX_GITHUB_CHANGELOG_TOKEN: {{ "${{ secrets.GITHUB_TOKEN }}" }}
steps:
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.11

- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install '.[docs]'
- name: Attempt docs build
working-directory: ./docs
run: make html
16 changes: 16 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
version: 2

build:
os: "ubuntu-20.04"
tools:
python: "3.11"

python:
install:
- method: pip
path: .
extra_requirements:
- docs

sphinx:
configuration: docs/source/conf.py
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2018 VICC
Copyright (c) 2018-2024 VICC

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
13 changes: 7 additions & 6 deletions docs/Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# Minimal makefile for Sphinx documentation
#

# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
SOURCEDIR = .
BUILDDIR = _build
# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
SOURCEDIR = source
BUILDDIR = build

# Put it first so that "make" without argument is like "make help".
help:
Expand All @@ -16,4 +17,4 @@ help:
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
4 changes: 0 additions & 4 deletions docs/__authors__.py

This file was deleted.

18 changes: 0 additions & 18 deletions docs/cite.rst

This file was deleted.

12 changes: 0 additions & 12 deletions docs/cite_files/metakb-preprint.bib

This file was deleted.

47 changes: 0 additions & 47 deletions docs/cite_files/metakb-preprint.enw

This file was deleted.

47 changes: 0 additions & 47 deletions docs/cite_files/metakb-preprint.ris

This file was deleted.

1 change: 0 additions & 1 deletion docs/cite_files/metakb-preprint.xml

This file was deleted.

Loading

0 comments on commit 659b051

Please sign in to comment.