Skip to content

Commit

Permalink
Merge pull request #213 from nlesc-nano/docs
Browse files Browse the repository at this point in the history
DOC: Do not use conda when building RTD docs
  • Loading branch information
BvB93 committed Dec 2, 2021
2 parents a849ec9 + cde8954 commit 3ad10a7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 27 deletions.
19 changes: 0 additions & 19 deletions .environment.yaml

This file was deleted.

5 changes: 2 additions & 3 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@ sphinx:
# Optionally build your docs in additional formats such as PDF
formats: all

conda:
environment: .environment.yaml

# Optionally set the version of Python and requirements required to build your docs
python:
install:
- method: pip
path: .
extra_requirements:
- doc
10 changes: 5 additions & 5 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@
needs_sphinx = '2.4'


# Output is processed with HTML4 writer.
# Default is False.
html4_writer = True


# Add any Sphinx extension module names here, as strings.
# They can be extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = [
Expand Down Expand Up @@ -258,6 +253,11 @@
# Defaults to False.
napoleon_use_admonition_for_references = True

# This value contains a list of modules to be mocked up.
# This is useful when some external dependencies are not met at build time and break the building
# process. You may only specify the root package of the dependencies themselves and
# omit the sub-modules:
autodoc_mock_imports = ["rdkit"]

# A string of reStructuredText that will be included at the end of every source file that is read.
# This is a possible place to add substitutions that should be available in every file (another being rst_prolog).
Expand Down

0 comments on commit 3ad10a7

Please sign in to comment.