Skip to content

Commit

Permalink
DOCS: add pen and pengram to api
Browse files Browse the repository at this point in the history
  • Loading branch information
sjsrey committed Aug 18, 2024
1 parent a253ac4 commit 77ac3e8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 18 deletions.
22 changes: 4 additions & 18 deletions docs/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Minimal makefile for Sphinx documentation
#

# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
SPHINXPROJ = inequality
# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
SOURCEDIR = .
BUILDDIR = _build

Expand All @@ -17,18 +17,4 @@ help:
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@rsync -r --exclude '.ipynb_checkpoints/' ../notebooks/ ./notebooks/
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

github:
@make html

sync:
@rsync -avh _build/html/ ../docs/ --delete
@make clean
touch .nojekyll

clean:
rm -rf $(BUILDDIR)/*
rm -rf auto_examples/
rm -rf generated/
9 changes: 9 additions & 0 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,12 @@ Gini Inequality Measures
inequality.gini.Gini
inequality.gini.Gini_Spatial

Pengram
-------

.. autosummary::
:toctree: generated/

inequality.pen.pen
inequality.pen.pengram

0 comments on commit 77ac3e8

Please sign in to comment.