Skip to content

Commit

Permalink
change docs from RTD to github page
Browse files Browse the repository at this point in the history
  • Loading branch information
weikang9009 committed Mar 4, 2023
1 parent ae70fbd commit 08a7ada
Show file tree
Hide file tree
Showing 16 changed files with 19 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
# Notes:
# - After the first run of this workflow:
# - Within the project repo, navigate to Setting/Github Pages
# - set `the source pbranch to `gh-pages/(root))`.
# - Uncomment evertything below the following line to enable the workflow.
# - set `the source branch to `gh-pages/(root))`.
# - Uncomment everything below the following line to enable the workflow.
#---------------------------------------------------------------------------

name: Build Docs
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ Online documentation is available
## Examples

- [Basic point pattern
structure](https://github.com/pysal/pointpats/tree/master/notebooks/pointpattern.ipynb)
structure](https://github.com/pysal/pointpats/tree/main/notebooks/pointpattern.ipynb)
- [Centrography and
visualization](https://github.com/pysal/pointpats/tree/master/notebooks/centrography.ipynb)
- [Marks](https://github.com/pysal/pointpats/tree/master/notebooks/marks.ipynb)
visualization](https://github.com/pysal/pointpats/tree/main/notebooks/centrography.ipynb)
- [Marks](https://github.com/pysal/pointpats/tree/main/notebooks/marks.ipynb)
- [Simulation of point
processes](https://github.com/pysal/pointpats/tree/master/notebooks/process.ipynb)
processes](https://github.com/pysal/pointpats/tree/main/notebooks/process.ipynb)
- [Distance based
statistics](https://github.com/pysal/pointpats/tree/master/notebooks/distance_statistics-numpy-oriented.ipynb)
statistics](https://github.com/pysal/pointpats/tree/main/notebooks/distance_statistics-numpy-oriented.ipynb)

## Installation

Expand Down
9 changes: 9 additions & 0 deletions doc/Makefile → docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@ help:
%: Makefile
@$(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/
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions doc/index.rst → docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,23 @@ for the inclusion of many newly proposed analytics for point patterns.
<div class="col-sm-1 col-xs-hidden">
</div>
<div class="col-md-3 col-xs-12">
<a href="https://nbviewer.jupyter.org/github/pysal/pointpats/blob/master/notebooks/process.ipynb" class="thumbnail">
<a href="https://nbviewer.org/github/pysal/pointpats/blob/main/notebooks/process.ipynb" class="thumbnail">
<img src="_static/images/point_process.png" class="img-responsive center-block">
<div class="caption text-center">
<h6>Simulating point processes</h6>
</div>
</a>
</div>
<div class="col-sm-3 col-xs-12">
<a href="https://nbviewer.jupyter.org/github/pysal/pointpats/blob/master/notebooks/Quadrat_statistics.ipynb" class="thumbnail">
<a href="https://nbviewer.org/github/pysal/pointpats/blob/main/notebooks/Quadrat_statistics.ipynb" class="thumbnail">
<img src="_static/images/quadrat.png" class="img-responsive center-block">
<div class="caption text-center">
<h6>Quadrat based statistics for point pattern analysis</h6>
</div>
</a>
</div>
<div class="col-sm-3 col-xs-12">
<a href="https://nbviewer.jupyter.org/github/pysal/pointpats/blob/master/notebooks/distance_statistics-numpy-oriented.ipynb" class="thumbnail">
<a href="https://github.com/pysal/pointpats/blob/main/notebooks/distance_statistics-numpy-oriented.ipynb" class="thumbnail">
<img src="_static/images/G_sim_envelope.png"
class="img-responsive center-block">
<div class="caption text-center">
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 08a7ada

Please sign in to comment.