Skip to content
This repository was archived by the owner on Dec 23, 2025. It is now read-only.

Commit d372ff3

Browse files
committed
wip
1 parent 1a1b62f commit d372ff3

35 files changed

+1308
-854
lines changed

.github/pull_request_template.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<!--- Provide a general summary of your changes here. -->
2+
3+
Tasks
4+
-----
5+
6+
- [ ] Updated changelog.
7+
- [ ] Updated documentation.

.github/workflows/publish-docs.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: publish-docs_old
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
publish-docs:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Check out repository
13+
uses: actions/checkout@v3.3.0
14+
- name: Set up Python 3.x
15+
uses: actions/setup-python@v4.5.0
16+
with:
17+
python-version: "3.x"
18+
- name: Install Poetry
19+
uses: snok/install-poetry@v1.3.3
20+
- name: Install Package
21+
run: poetry install
22+
- name: Build and deploy docs_old
23+
run: poetry run mkdocs gh-deploy --clean --strict --verbose --force

.github/workflows/quality-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ jobs:
4141
# run: poetry run mypy
4242
- name: Test code
4343
run: poetry run pytest -v --cov --cov-report=xml --durations=20
44-
# - name: Test docs
45-
# run: poetry run mkdocs build --clean --strict --verbose
44+
- name: Test docs_old
45+
run: poetry run mkdocs build --clean --strict --verbose
4646
- name: Upload coverage
4747
uses: codecov/codecov-action@v3.1.1
4848
with:

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,6 @@ instance/
6363
# Scrapy stuff:
6464
.scrapy
6565

66-
# Sphinx documentation
67-
#docs/_build/
68-
6966
# PyBuilder
7067
target/
7168

.pre-commit-config.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ repos:
2626
- id: python-use-type-annotations
2727
- id: python-check-blanket-type-ignore
2828
- repo: https://github.com/python-jsonschema/check-jsonschema
29-
rev: 0.21.0
29+
rev: 0.22.0
3030
hooks:
3131
- id: check-github-workflows
3232
- id: check-github-actions
@@ -44,3 +44,7 @@ repos:
4444
rev: 23.1.0
4545
hooks:
4646
- id: black
47+
- repo: https://github.com/adamchainz/blacken-docs
48+
rev: 1.13.0
49+
hooks:
50+
- id: blacken-docs

.readthedocs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build:
44
image: latest
55

66
sphinx:
7-
configuration: docs/source/conf.py
7+
configuration: docs_old/source/conf.py
88

99
formats: all
1010

@@ -14,4 +14,4 @@ python:
1414
- method: pip
1515
path: .
1616
extra_requirements:
17-
- docs
17+
- docs_old

docs/Makefile

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

docs/api.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# API Reference
2+
3+
::: idesolver.IDESolver
4+
5+
::: idesolver.global_error
6+
7+
::: idesolver.complex_quad

docs/assets/favicon.png

1.03 KB
Loading

docs/assets/mathjax.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
window.MathJax = {
2+
tex: {
3+
inlineMath: [["\\(", "\\)"]],
4+
displayMath: [["\\[", "\\]"]],
5+
processEscapes: true,
6+
processEnvironments: true
7+
},
8+
options: {
9+
ignoreHtmlClass: ".*|",
10+
processHtmlClass: "arithmatex"
11+
}
12+
};
13+
14+
document$.subscribe(() => {
15+
MathJax.typesetPromise()
16+
})

0 commit comments

Comments
 (0)