Skip to content

Commit

Permalink
Merge branch 'main' into dependabot-pip-_requirements-torchmetrics-gt…
Browse files Browse the repository at this point in the history
…e-0.7-and-lt-1.1
  • Loading branch information
Borda authored Aug 14, 2023
2 parents da114bb + 89b94ba commit 41361f4
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ concurrency:
jobs:

check-schema:
uses: Lightning-AI/utilities/.github/workflows/check-schema.yml@v0.8.0
uses: Lightning-AI/utilities/.github/workflows/check-schema.yml@v0.9.0
8 changes: 1 addition & 7 deletions .github/workflows/ci_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,7 @@ jobs:

- name: Make Documentation
working-directory: ./_docs
run: make html --debug SPHINXOPTS="-W --keep-going"

- name: Check External Links (Optional)
working-directory: ./_docs
run: make --jobs $(nproc) linkcheck
# ToDO: comment on PR if any link failed
continue-on-error: true
run: make html --jobs $(nproc) --debug SPHINXOPTS="-W --keep-going" linkcheck

- name: Upload built docs
uses: actions/upload-artifact@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
run: make html --jobs $(nproc)

- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.4.2
uses: JamesIves/github-pages-deploy-action@v4.4.3
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages # The branch the action should deploy to.
Expand Down
21 changes: 15 additions & 6 deletions _docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@

# If your documentation needs a minimal Sphinx version, state it here.

needs_sphinx = "6.2"
needs_sphinx = "5.3"

# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
Expand Down Expand Up @@ -224,8 +224,17 @@
# -- Options for intersphinx extension ---------------------------------------

# Example configuration for intersphinx: refer to the Python standard library.
# intersphinx_mapping = {
# "python": ("https://docs.python.org/3", None),
# "torch": ("https://pytorch.org/docs/stable/", None),
# "numpy": ("https://docs.scipy.org/doc/numpy/", None),
# }
intersphinx_mapping = {
"python": ("https://docs.python.org/3", None),
"torch": ("https://pytorch.org/docs/stable/", None),
"numpy": ("https://docs.scipy.org/doc/numpy/", None),
}

# skip false positive linkcheck errors from anchors
linkcheck_anchors = False

# ignore all links in any CHANGELOG file
linkcheck_exclude_documents = []

# ignore the following relative links (false positive errors during linkcheck)
linkcheck_ignore = []
2 changes: 1 addition & 1 deletion _requirements/default.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
setuptools==67.8.0
setuptools==68.0.0
matplotlib>=3.0.0, <3.8.0
ipython[notebook]>=8.0.0, <8.15.0
urllib3 # for ipython
Expand Down
12 changes: 6 additions & 6 deletions _requirements/docs.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
sphinx >=6.0, <7.0
myst-parser >=2.0.0
nbsphinx >=0.8
pandoc >=1.0
#docutils>=0.16
sphinx-paramlinks >=0.4.0
sphinx >5.0, <6.0
myst-parser >=0.18.1, <3.0.0
nbsphinx >=0.8.5, <=0.8.9
pandoc >=1.0, <=2.3
#docutils >=0.16
sphinx-paramlinks >=0.5.1, <=0.5.4
ipython[notebook] >=8.0.0, <8.2.0

pt-lightning-sphinx-theme @ https://github.com/Lightning-AI/lightning_sphinx_theme/archive/master.zip
Expand Down

0 comments on commit 41361f4

Please sign in to comment.