Skip to content

Commit 70ea23e

Browse files
Merge pull request #26 from ethan-shanahan/dev
Microstructure copy optimisations and docs improvements
2 parents 28963a8 + 74b5a28 commit 70ea23e

File tree

20 files changed

+1070
-147
lines changed

20 files changed

+1070
-147
lines changed

.readthedocs.yml

Lines changed: 16 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6,33 +6,28 @@ version: 2
66

77
# Set the OS, Python version and other tools you might need
88
build:
9-
os: ubuntu-22.04
9+
os: ubuntu-24.04
1010
tools:
11-
python: "3.11"
12-
# You can also specify other tool versions:
13-
# nodejs: "20"
14-
# rust: "1.70"
15-
# golang: "1.20"
11+
python: "3.12"
12+
commands:
13+
- asdf plugin add pixi
14+
- asdf install pixi latest
15+
- asdf global pixi latest
16+
- pixi install -e docs
17+
- pixi run build-docs
18+
- mkdir --parents $READTHEDOCS_OUTPUT/
19+
- cp --recursive docs/build/** $READTHEDOCS_OUTPUT/
1620

1721
# Build documentation in the "docs/" directory with Sphinx
1822
sphinx:
1923
configuration: docs/source/conf.py
20-
# You can configure Sphinx to use a different builder, for instance use the dirhtml builder for simpler URLs
21-
# builder: "dirhtml"
22-
# Fail on all warnings to avoid broken references
23-
# fail_on_warning: true
24-
25-
# Optionally build your docs in additional formats such as PDF and ePub
26-
# formats:
27-
# - pdf
28-
# - epub
2924

3025
# Optional but recommended, declare the Python requirements required
3126
# to build your documentation
3227
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
33-
python:
34-
install:
35-
- method: pip
36-
path: .
37-
extra_requirements:
38-
- docs
28+
# python:
29+
# install:
30+
# - method: pip
31+
# path: .
32+
# extra_requirements:
33+
# - docs
16.2 KB
Loading

docs/source/conf.py

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,38 @@
66
# -- Project information -----------------------------------------------------
77
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
88

9-
project = 'aiida-fans'
10-
copyright = '2024, Ethan Shanahan'
11-
author = 'Ethan Shanahan'
9+
import sys
10+
11+
12+
project = "aiida-fans"
13+
copyright = "2024-%Y, Ethan Shanahan"
14+
author = "Ethan Shanahan"
15+
sys.path.append("../../src/")
16+
from aiida_fans._version import version as version
17+
from aiida_fans._version import version as release
1218

1319
# -- General configuration ---------------------------------------------------
1420
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
1521

1622
extensions = []
1723

18-
templates_path = ['_templates']
24+
templates_path = ["_templates"]
1925
exclude_patterns = []
2026

21-
master_doc = 'index'
27+
master_doc = "index"
2228

2329
# -- Options for HTML output -------------------------------------------------
2430
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
2531

26-
html_theme = 'alabaster'
27-
html_static_path = ['_static']
32+
html_favicon = "_static/aiida-fans-logo.png"
33+
html_logo = "_static/aiida-fans-logo.png"
34+
html_title = "aiida-fans"
35+
html_last_updated_fmt = ""
36+
html_static_path = ["_static"]
37+
38+
html_theme = "sphinx_book_theme"
39+
html_theme_options = {
40+
"repository_url": "https://github.com/ethan-shanahan/aiida-fans",
41+
"use_repository_button": True,
42+
}
43+

docs/source/developer_guide/landing.rst

Lines changed: 0 additions & 21 deletions
This file was deleted.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Changelog
2+
=========
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
#################
2+
Developer Guide
3+
#################
4+
5+
TODO
6+
7+
*********
8+
Testing
9+
*********
10+
11+
TODO
12+
13+
**************
14+
Contributing
15+
**************
16+
17+
TODO
18+
19+
Style Guide
20+
===========
21+
22+
TODO
23+
24+
Pipeline
25+
========
26+
27+
TODO
28+
29+
Releasing
30+
=========
31+
32+
TODO
33+
34+
PyPI
35+
----
36+
37+
TODO
38+
39+
Conda
40+
-----
41+
42+
TODO
43+
44+
*************
45+
Documenting
46+
*************
47+
48+
TODO
49+
50+
Building
51+
========
52+
53+
TODO
54+
55+
Publishing
56+
==========
57+
58+
TODO

0 commit comments

Comments
 (0)