You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* update readme for docs building instructions
* use new docs CI separate from rest
* use PiccoloDocsTemplate
* minor docs fixes
---------
Co-authored-by: Gennadi Ryan <gennadiryan@gmail.com>
Co-authored-by: Gennadi Ryan <41800392+gennadiryan@users.noreply.github.com>
This package uses a Documenter config that is shared with many of our other repositories. To build the docs, you will need to run the docs setup script to clone and pull down the utility.
98
+
```
99
+
# first time only
100
+
./docs/get_docs_utils.sh # or ./get_docs_utils.sh if cwd is in ./docs/
> **Note:**`servedocs` needs to watch a subset of the files in the `docs/` folder. If it watches files that are generated on a docs build/re-build, `servedocs` will continuously try to re-serve the pages.
116
+
>
117
+
> To prevent this, ensure all generated files are included in the skip dirs or skip files args for `servedocs`.
118
+
119
+
For example, if we forget docs/src/generated like so:
Copy file name to clipboardExpand all lines: docs/src/index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,4 +59,4 @@ In each case, the dynamics between *knot points* $(U_t, a_t)$ and $(U_{t+1}, a_{
59
59
60
60
-----
61
61
62
-
Problem templates give the user the ability to add other constraints and objective functions to this problem and solve it efficiently using [Ipopt.jl](https://github.com/jump-dev/Ipopt.jl) and [MathOptInterface.jl](https://github.com/jump-dev/MathOptInterface.jl) under the hood.
62
+
Problem templates give the user the ability to add other constraints and objective functions to this problem and solve it efficiently using [Ipopt.jl](https://github.com/jump-dev/Ipopt.jl) and [MathOptInterface.jl](https://github.com/jump-dev/MathOptInterface.jl) under the hood (support for additional backends coming soon!).
0 commit comments