-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc: add instructions to build documentation (#1645)
Closes #1642
- Loading branch information
Showing
3 changed files
with
31 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Documentation | ||
|
||
The files for the documentation are located in the | ||
`docs/src/manual/` directory. | ||
|
||
## Adding files to the documentation | ||
|
||
To add files to the documentation edit directly the file | ||
`docs/src/.vitepress/config.mts`. | ||
|
||
## Building the documentation | ||
|
||
1. Run julia and execute (with Hecke developed in your current environment) | ||
```julia-repl | ||
julia> using Hecke | ||
julia> Hecke.build_doc() # or Hecke.build_doc(;doctest = false) to speed things up | ||
``` | ||
|
||
2. In the terminal, navigate to `docs/` and run | ||
```bash | ||
Hecke/docs> npm run docs:build | ||
``` | ||
(This step takes place outside of julia.) | ||
|
||
!!! note | ||
To speed up the development process, step 1 can be repeated within the same julia session. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters