Skip to content

Commit

Permalink
Docs fixes/updates
Browse files Browse the repository at this point in the history
  • Loading branch information
hexane360 committed Oct 11, 2024
1 parent fc023f2 commit afd6a8e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 12 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,15 @@ concurrency:
jobs:
docs:
runs-on: ubuntu-latest
env:
GIT_COMMITTER_NAME: github-actions
GIT_COMMITTER_EMAIL: [email protected]
steps:
- uses: actions/checkout@v3
- name: Install python
uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: '3.12'
cache: 'pip'
cache-dependency-path: pyproject.toml
- name: Install dependencies
Expand All @@ -31,10 +34,6 @@ jobs:
id: version
# outputs project, version, and tag
run: python .github/scripts/get_versioninfo.py
- name: Set git user
run: |
git config user.name github-actions
git config user.email [email protected]
- name: Fetch gh-pages branch
run: git fetch origin gh-pages --depth=1
- name: Deploy
Expand Down
4 changes: 2 additions & 2 deletions atomlib/make/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from __future__ import annotations

"""
Functions to create structures and cells.
"""

from __future__ import annotations

import logging
import string
import typing as t
Expand Down
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ plugins:
- search
- autorefs
- mkdocstrings:
custom_templates: templates
#custom_templates: templates
handlers:
python:
paths: [.]
Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ dev = [
"nbmake>=1.4.1",
]
docs = [
"mkdocs>=1.5.2",
"mkdocs-material==9.5.4",
"mkdocstrings[python]==0.22.0",
"mkdocs==1.6.1",
"mkdocs-material==9.5.40",
"mkdocstrings[python]==0.26.1",
"markdown-include==0.8.1",
"mike==1.1.2",
"mike==2.1.3",
"black>=24.3.0",
]

Expand Down

0 comments on commit afd6a8e

Please sign in to comment.