Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ build/
source/postreise.*
source/powersimdata.*
source/prereise.*
source/reliabilityassessment.*
source/modules.rst
source/setup.rst
source/test.rst
Expand Down
9 changes: 8 additions & 1 deletion source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@
sys.path.insert(0, os.path.abspath("../../PreREISE"))
sys.path.insert(0, os.path.abspath("../../PowerSimData"))
sys.path.insert(0, os.path.abspath("../../PostREISE"))
sys.path.insert(0, os.path.abspath("../../reliability-assessment"))

import warnings

warnings.filterwarnings("ignore", message="numpy.dtype size changed")
warnings.filterwarnings("ignore", message="numpy.ufunc size changed")
warnings.filterwarnings("ignore", message="numpy.ndarray size changed")
warnings.filterwarnings("ignore", message="Container node skipped")

# -- General configuration ---------------------------------------------------
Expand Down Expand Up @@ -66,10 +68,16 @@
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = [
"_build",
"conftest.rst",
"modules.rst",
"setup.rst",
"prereise/hydro/legacy/capacity_factor.rst",
"prereise/renewables/solar/wind.rst",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exclude outdated documentation. Hydro profiles and solar profiles using capacity factors and WIND toolkit, respectively, are not used anymore

"prereise/demand/transportation_electrification/data.rst",
"prereise/demand/transportation_electrification/methodology.rst",
"prereise.gather.flexibilitydata.doe.examples.rst",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exclude scripts generating a lot of files

"postreise/README.md"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exclude README explaining how to generate plots in the PostREISE tutorial.

"reliabilityassessment/usage.rst",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Solve an issue with numref

]

# The name of the Pygments (syntax highlighting) style to use.
Expand Down Expand Up @@ -115,7 +123,6 @@
"fixed_sidebar": False,
"sidebar_width": "20%",
"page_width": "80%",
"page_width": "auto",
"github_button": True,
"github_user": "Breakthrough-Energy",
"github_repo": "docs",
Expand Down
1 change: 1 addition & 0 deletions source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -124,3 +124,4 @@ Please review our :doc:`communication/code_of_conduct` before contributing.
prereise/index
postreise/index
reisejl/index
reliabilityassessment/index
1 change: 1 addition & 0 deletions source/reliabilityassessment
9 changes: 5 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
[tox]
envlist = {prereise,powersimdata,postreise}
envlist = {reliabilityassessment,powersimdata,prereise,postreise}
skipsdist = True

[testenv]
allowlist_externals = make
setenv =
setenv =
{reliabilityassessment}: PROJECT_DIR = reliability-assessment
{prereise}: PROJECT_DIR = PreREISE
{powersimdata}: PROJECT_DIR = PowerSimData
{postreise}: PROJECT_DIR = PostREISE
passenv =
{powersimdata}: PROJECT_DIR = PowerSimData
passenv =
CPPFLAGS
LDFLAGS
commands =
Expand Down