Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a709ede

Browse files
committed
Updated documentation makefiles and links. Added python wrapper manual.
1 parent c3b6174 commit a709ede

6 files changed

Lines changed: 20 additions & 13 deletions

File tree

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,13 @@ PFNET is a C library for modeling and analyzing electric power networks. It prov
1212

1313
BSD 2-clause license.
1414

15+
## Documentation ##
16+
17+
The documentation for this library can be found in http://ttinoco.github.io/PFNET.
18+
1519
## Download ##
1620

17-
To be determined soon.
21+
The latest version of the library can be downloaded from https://github.com/ttinoco/PFNET.
1822

1923
## Dependencies ##
2024

@@ -33,7 +37,7 @@ To build the library without raw parsing capabilities (no ``libraw_parser`` depe
3337

3438
Wrappers for PFNET are available for the following languages:
3539

36-
* Python
40+
* [Python](http://ttinoco.github.io/PFNET/python)
3741

3842
## Citing PFNET ##
3943

@@ -43,7 +47,7 @@ If you use PFNET in your work, please cite the software as follows:
4347
@misc{pfnet,
4448
author={Tomas Tinoco De Rubira},
4549
title={{PFNET}: A library for modeling and analyzing electric power networks},
46-
howpublished={\url{some_UR}},
50+
howpublished={\url{https://github.com/ttinoco/PFNET}},
4751
month={July},
4852
year={2015}
4953
}

docs/Doxyfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ PROJECT_LOGO =
5858
# entered, it will be relative to the location where doxygen was started. If
5959
# left blank the current directory will be used.
6060

61-
OUTPUT_DIRECTORY =
61+
OUTPUT_DIRECTORY = ../../pfnet-docs
6262

6363
# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create 4096 sub-
6464
# directories (in 2 levels) under the output directory of each output format and
@@ -1540,7 +1540,7 @@ EXTRA_SEARCH_MAPPINGS =
15401540
# If the GENERATE_LATEX tag is set to YES doxygen will generate LaTeX output.
15411541
# The default value is: YES.
15421542

1543-
GENERATE_LATEX = YES
1543+
GENERATE_LATEX = NO
15441544

15451545
# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. If a
15461546
# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of

python/docs/Makefile

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
SPHINXOPTS =
66
SPHINXBUILD = sphinx-build
77
PAPER =
8-
BUILDDIR = _build
8+
BUILDDIR = ../../../pfnet-docs/html/python
9+
PDFBUILDDIR = /tmp
10+
PDF = ../manual.pdf
911

1012
# User-friendly check for sphinx-build
1113
ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
@@ -53,9 +55,9 @@ clean:
5355

5456
html:
5557
@cd ../; sudo python setup.py build_ext --inplace; cd docs
56-
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
58+
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)
5759
@echo
58-
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
60+
@echo "Build finished. The HTML pages are in $(BUILDDIR)."
5961

6062
dirhtml:
6163
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
@@ -122,10 +124,11 @@ latex:
122124
"(use \`make latexpdf' here to do that automatically)."
123125

124126
latexpdf:
125-
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
127+
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(PDFBUILDDIR)/latex
126128
@echo "Running LaTeX files through pdflatex..."
127-
$(MAKE) -C $(BUILDDIR)/latex all-pdf
128-
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
129+
$(MAKE) -C $(PDFBUILDDIR)/latex all-pdf
130+
cp $(PDFBUILDDIR)/latex/PFNET.pdf $(PDF)
131+
@echo "pdflatex finished; see $(PDF)"
129132

130133
latexpdfja:
131134
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex

python/docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ If you use PFNET in your work, please cite the software as follows::
2323
@misc{pfnet,
2424
author={Tomas Tinoco De Rubira},
2525
title={{PFNET}: A library for modeling and analyzing electric power networks},
26-
howpublished={\url{some_UR}},
26+
howpublished={\url{https://github.com/ttinoco/PFNET}},
2727
month={July},
2828
year={2015}
2929
}

python/docs/start.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ PFNET has the following dependencies:
2424
Download
2525
========
2626

27-
The latest version of PFNET can be downloaded `here <some_URL>`_.
27+
The latest version of PFNET can be downloaded from `<https://github.com/ttinoco/PFNET>`_.
2828

2929
.. _start_installation:
3030

python/manual.pdf

317 KB
Binary file not shown.

0 commit comments

Comments
 (0)