diff --git a/.travis/generate-html.sh b/.travis/generate-html.sh index b084e96..da98c61 100755 --- a/.travis/generate-html.sh +++ b/.travis/generate-html.sh @@ -63,7 +63,12 @@ for SETTINGS in $(find -name settings.sh); do echo done -python3 -m markdown Info.md > html/index.html +python3 -m markdown \ + -x markdown.extensions.fenced_code \ + -x markdown.extensions.tables \ + -x markdown.extensions.codehilite \ + -x markdown.extensions.toc \ + Info.md > html/index.html ( echo diff --git a/.travis/push-html.sh b/.travis/push-html.sh index 388d886..9497446 100755 --- a/.travis/push-html.sh +++ b/.travis/push-html.sh @@ -34,13 +34,21 @@ TMPDIR=$(mktemp -d) git log -1 find -type f | sort ) - rm -rf html/* + echo "--------------------------------------------" + echo + echo "Updating html" + echo "--------------------------------------------" + rm -rf html/* cp -a $SRCDIR/html/* html/ ( cd html git add --all . + ) + echo "--------------------------------------------" + ( + cd html echo echo "Committing" echo "--------------------------------------------" diff --git a/.travis/requirements.txt b/.travis/requirements.txt index 0918c97..0c8edb2 100644 --- a/.travis/requirements.txt +++ b/.travis/requirements.txt @@ -1 +1,2 @@ markdown +pygments diff --git a/README.md b/README.md index 2445a74..9823c9d 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,11 @@ # Project X-Ray - Xilinx Series 7 Bitstream Documentation +[[TOC]] + This repo contains the bitstream documentation database for Xilinx Series 7 devices. -[HTML version of the Xilinx Series 7 BitStream is avaliable on https://symbiflow.github.io/prjxray-db](https://symbiflow.github.io/prjxray-db). +[HTML version of the Xilinx Series 7 BitStream is available on https://symbiflow.github.io/prjxray-db](https://symbiflow.github.io/prjxray-db). This documentation was generated using the [Project X-Ray tools](https://github.com/SymbiFlow/prjxray).