Skip to content

Commit

Permalink
Merge pull request #83 from gnosis/fix-doc-gen
Browse files Browse the repository at this point in the history
Tweak doc paths to match doxity behavior
  • Loading branch information
cag authored Feb 8, 2018
2 parents b5a49f1 + e01dc2d commit e349bff
Show file tree
Hide file tree
Showing 33 changed files with 1 addition and 2 deletions.
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.
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.
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.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 1 addition & 2 deletions scripts/makedocs.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env bash

rm -r docs
mkdir -p docs/docs
find contracts -name '*.sol' ! -name 'Migrations.sol' -type f -exec bash -c './node_modules/.bin/solmd {} --dest docs/docs/`basename {} .sol`.md' \;
find contracts -name '*.sol' ! -name 'Migrations.sol' -type f -exec bash -c 'mkdir -p docs/docs/`basename {} .sol`; ./node_modules/.bin/solmd {} --dest docs/docs/`basename {} .sol`/index.md' \;

0 comments on commit e349bff

Please sign in to comment.