Skip to content

Commit

Permalink
Merge pull request #99 from AestheticIntegration/ewen/updateDocMake
Browse files Browse the repository at this point in the history
Ewen/update doc make
  • Loading branch information
ewenmaclean authored Oct 18, 2018
2 parents 95d01e3 + 67b669d commit ffa9123
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 8 deletions.
8 changes: 4 additions & 4 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ To update the documentation in the `gh-pages` branch, you can do the following:
- stash the changes in the `doc` folder

```
git add doc/*
git add _pages/doc/*
git stash
```

- checkout gh-pages and apply the stash

```
git checkout gh-pages
git checkout stash -- doc
git checkout gh-pages-src
git checkout stash -- _pages
git commit -m "Update documentation"
git push origin gh-pages
git push origin gh-pages-src
```
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ doc:
@echo "src-protocol-exts-pp-vg" > dune-ignore
@echo "src-protocol-exts-vg" >> dune-ignore
dune build @doc
mkdir -p _pages/doc
cp -r _build/default/_doc/_html/* _pages/doc/
rm -rf _pages/doc/odoc.css
sed -i '' -e 's/<body>/<body><nav><\/nav>/g' _pages/doc/index.html
rm dune-ignore

module_graph.svg: _build/doc/all_modules.docdir/all_modules.dot
Expand Down Expand Up @@ -58,7 +62,7 @@ _opam:
opam install -y ocaml-base-compiler.4.05.0

clean:
duneer clean
dune clean

.PHONY: build build_vgs run run_server clean doc

2 changes: 1 addition & 1 deletion src-protocol-exts-pp-vg/dune
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
(name protocol_exts_pp_vg)
(public_name protocol_exts_pp_vg)
(wrapped false)
(libraries yojson core_pp core_time_defaults_pp protocol_exts_vg)
(libraries core_time_defaults yojson core_pp core_time_defaults_pp protocol_exts_vg)
)
2 changes: 1 addition & 1 deletion src-protocol-pp/dune
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
(name protocol_pp)
(public_name protocol_pp)
(wrapped false)
(libraries yojson protocol_exts_pp protocol fix_engine core_utils)
(libraries core_time_defaults_pp yojson protocol_exts_pp protocol fix_engine core_utils)
)
2 changes: 1 addition & 1 deletion src-protocol/dune
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
(name protocol)
(public_name protocol)
(wrapped false)
(libraries protocol_exts)
(libraries core_time_defaults protocol_exts)
)
1 change: 1 addition & 0 deletions src-simulation/dune
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
fix_engine
core_pp
core_time_defaults
core_time_defaults_pp
protocol_pp
conversions
)
Expand Down

0 comments on commit ffa9123

Please sign in to comment.