Skip to content

Commit af59324

Browse files
authored
Merge pull request #144 from NREL/documentation_fix
bug fix on documentation
2 parents 9f92231 + 3d7f420 commit af59324

File tree

10 files changed

+18
-24
lines changed

10 files changed

+18
-24
lines changed

.github/workflows/pull_request_tests.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ jobs:
77
runs-on: ${{ matrix.os }}
88
strategy:
99
matrix:
10-
os: [ubuntu-latest, macos-latest]
10+
os: [ubuntu-latest]
11+
#os: [ubuntu-latest, macos-latest]
1112
#os: [ubuntu-latest, macos-latest, windows-latest]
12-
python-version: ["3.9", "3.10", "3.11"]
13+
python-version: ["3.9"] #["3.9", "3.10", "3.11"]
1314

1415
steps:
1516
- uses: actions/checkout@v2

docs/source/CLI interface.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
CLI Interface
2+
^^^^^^^^^^^^^
13

24
.. click:: pydss.cli.pydss:cli
35
:prog: Command line interface

docs/source/_autosummary/PyDSS.api.server.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
pydss.api.server
1+
pydss.api.server
22
================
33

44
.. automodule:: pydss.api.server

docs/source/_autosummary/PyDSS.api.src.web.handler.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
pydss.api.src.web.handler
1+
pydss.api.src.web.handler
22
=========================
33

44
.. automodule:: pydss.api.src.web.handler

docs/source/_autosummary/PyDSS.cli.pydss.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
pydss.cli.pydss
1+
pydss.cli.pydss
22
===============
33

44
.. automodule:: pydss.cli.pydss

docs/source/_autosummary/PyDSS.cli.run_server.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
pydss.cli.run\_server
1+
pydss.cli.run\_server
22
=====================
33

44
.. automodule:: pydss.cli.run_server

docs/source/_autosummary/PyDSS.pydss_fs_interface.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ pydss.pydss\_fs\_interface
1919

2020
PyDssArchiveFileInterfaceBase
2121
PyDssFileSystemInterface
22-
PyDssFileSystemInterface
2322
PyDssTarFileInterface
2423
PyDssZipFileInterface
2524

docs/source/_autosummary/PyDSS.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
Pydss
1+
2+
Pydss
23
=====
34

45
.. automodule:: pydss

docs/source/conf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ def find_version(*file_paths):
3636
return version_match.group(1)
3737
raise RuntimeError("Unable to find version string.")
3838

39-
project = 'PyDSS'
39+
project = 'Pydss'
4040
copyright = '2019, Aadil Latif'
4141
author = 'Aadil Latif'
4242

4343
# The full version, including alpha/beta/rc tags
44-
release = find_version("../../PyDSS", "__init__.py")
44+
release = find_version("../../src/pydss", "__init__.py")
4545

4646
# -- General configuration ---------------------------------------------------
4747

@@ -91,7 +91,7 @@ def find_version(*file_paths):
9191

9292
redoc = [
9393
{
94-
'name': 'PyDSS API',
94+
'name': 'Pydss API',
9595
'page': 'api',
9696
'spec': 'spec/swagger.yml',
9797
'embed': True,

docs/source/index.rst

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,15 @@
33
You can adapt this file completely to your liking, but it should at least
44
contain the root `toctree` directive.
55
6-
.. figure:: _static/Logo.png
7-
:align: center
8-
96
#####
107
Pydss
118
#####
129

1310
***********
14-
About PyDSS
11+
About Pydss
1512
***********
1613

17-
PyDSS is a Python wrapper for OpenDSS that aims to expand upon its
14+
Pydss is a Python wrapper for OpenDSS that aims to expand upon its
1815
organizational, analytical, and visualization capabilities with these features:
1916

2017
- Allows the user to develop custom control algorithms for specific circuit elements and run them
@@ -25,7 +22,7 @@ organizational, analytical, and visualization capabilities with these features:
2522
- Automates collection and analysis of circuit element results at each simulation time step.
2623
- Flexible architecture allows users to develop extensions.
2724

28-
PyDSS uses opendssdirect.py (https://pypi.org/project/OpenDSSDirect.py/) to communicate with
25+
Pydss uses opendssdirect.py (https://pypi.org/project/OpenDSSDirect.py/) to communicate with
2926
OpenDSS.
3027

3128
.. _installation_label:
@@ -43,18 +40,12 @@ Here is an example conda command:
4340
4441
$ conda create -n pydss python=3.9
4542
46-
Install shapely with conda. pip, particularly on Windows, often fails to install its dependent
47-
libraries.
48-
49-
.. code-block:: bash
50-
51-
$ conda install shapely
5243
5344
Install the latest supported pydss version with this command:
5445

5546
.. code-block:: bash
5647
57-
$ pip install dsspy
48+
$ pip install NREL-pydss
5849
5950
Alternatively, to get the lastest code from the master branch:
6051

0 commit comments

Comments
 (0)