Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
stephane-martin committed Mar 27, 2019
1 parent 2f08a43 commit c5d1f01
Show file tree
Hide file tree
Showing 3 changed files with 163 additions and 580 deletions.
8 changes: 2 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,10 @@ ${BINARY}_debug: ${SOURCES}
${BINARY}: ${SOURCES}
env CGO_ENABLED=0 go build -a -installsuffix nocgo -tags 'netgo osusergo' -o ${BINARY} ${LDFLAGS_RELEASE} ${FULL}

README.rst: docs/README.rst
pandoc -s --toc --toc-depth=1 --wrap=auto --columns=80 --number-sections --from rst --to rst -o README.rst docs/README.rst

editdoc:
nohup restview docs/README.rst >/dev/null &
nvim docs/README.rst
nohup restview README.rst 1>/dev/null 2>/dev/null &
nvim README.rst
pkill restview
pandoc -s --toc --toc-depth=1 --wrap=auto --columns=80 --number-sections --from rst --to rst -o README.rst docs/README.rst

clean:
rm -f ${BINARY} ${BINARY}_debug
Expand Down
Loading

0 comments on commit c5d1f01

Please sign in to comment.