Skip to content

Commit

Permalink
yet more rtd
Browse files Browse the repository at this point in the history
  • Loading branch information
bollwyvl committed Apr 24, 2021
1 parent d829c2c commit 1b8af2a
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
9 changes: 9 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: 2

conda:
environment: docs/environment.yml

sphinx:
builder: html
configuration: docs/conf.py
fail_on_warning: true
8 changes: 7 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""documentation for jupyterlite"""

import os
import json
import datetime
from pathlib import Path
Expand Down Expand Up @@ -55,3 +55,9 @@
"github_version": "main",
"doc_path": "docs",
}


if os.environ.get("READTHEDOCS"):
import subprocess

subprocess.check_call(["doit", "build"])
2 changes: 1 addition & 1 deletion dodo.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ class L:
ALL_TS = [*P.PACKAGES.rglob("*/src/**/*.js"), *P.PACKAGES.rglob("*/src/**/*.ts")]
ALL_JSON = [*P.PACKAGE_JSONS, *P.APP_JSONS, P.ROOT_PACKAGE_JSON, *ALL_TS]
ALL_MD = [*P.CI.rglob("*.md"), *P.DOCS_MD]
ALL_YAML = [*P.BINDER.glob("*.yml"), *P.CI.rglob("*.yml")]
ALL_YAML = [*P.ROOT.glob("*.yml"), *P.BINDER.glob("*.yml"), *P.CI.rglob("*.yml")]
ALL_PRETTIER = [*ALL_JSON, *ALL_MD, *ALL_YAML]
ALL_BLACK = [
*P.DOCS_PY,
Expand Down

0 comments on commit 1b8af2a

Please sign in to comment.