| Age | Commit message (Collapse) | Author |
|
|
|
filtered-only show Ltac2 tags outside of ltac2.rst
|
|
|
|
|
|
|
|
|
|
Fix makefile glitches
|
|
Add headers to a few files which were missing them.
|
|
We are using some Sphinx extensions that are not safe w.r.t. parallel
reaading.
|
|
|
|
those in the rsts.
|
|
Currently, `.v` under the `Coq.` prefix are found in both `theories`
and `plugins`. Usually these two directories are merged by special
loadpath code that allows double-binding of the prefix.
This adds some complexity to the build and loadpath system; and in
particular, it prevents from handling the `Coq.*` prefix in the
simple, `-R theories Coq` standard way.
We thus move all `.v` files to theories, leaving `plugins` as an
OCaml-only directory, and modify accordingly the loadpath / build
infrastructure.
Note that in general `plugins/foo/Foo.v` was not self-contained, in
the sense that it depended on files in `theories` and files in
`theories` depended on it; moreover, Coq saw all these files as
belonging to the same namespace so it didn't really care where they
lived.
This could also imply a performance gain as we now effectively
traverse less directories when locating a library.
See also discussion in #10003
|
|
Build and install the Ltac2 documentation.
|
|
If these files are present in the latex directory, "make refman-pdf"
may fail to generate CoqRefMan.pdf.
|
|
Update doc_grammar tool
The grammar in the doc is generated semi-automatically with doc_grammar:
- the grammar is automatically extracted from the mlg files
- developer-prepared editing scripts *.mlg_edit modify the extracted
grammar for clarity, simplicity and ordering of productions
- chunks of the resulting grammar are automatically inserted into the
rsts using instructions embedded in the rsts
Running doc_grammar is currently a manual step.
The grammar updates in the rst files have been manually reviewed.
|
|
|
|
|
|
|
|
Indeed, MacOS has a BSD uname and BSD uname does not support the -o option.
Based on the following resources about uname compatility:
https://stackoverflow.com/questions/3466166/how-to-check-if-running-in-cygwin-mac-or-linux
https://en.wikipedia.org/wiki/Uname
|
|
|
|
|
|
Instead, if the coqlib is special, we set it explicitly in the command
line, as Dune does.
This is a continuation of #9523.
In Sphinx, we stop using -boot, and pass `-coqlib` through the
environment instead.
Co-authored-by: Gaëtan Gilbert <gaetan.gilbert@skyskimmer.net>
|
|
|
|
Reviewed-by: ejgallego
Ack-by: SkySkimmer
Ack-by: gares
Ack-by: ppedrot
|
|
The variable QUICK enables the quick compilation chain:
- all v files are compiled with -quick to vio files (also
-native-compiler no, since it is quicker)
- then all vio files are turned to vo files $NJOBS at a time
All occurrences of .vo use now .$(VO) that can be either
.vo or .vio depending of QUICK being defined. Targets that
only make sense for .vo files have to use $(VAR:.$(VO)=.vo)
|
|
|
|
menu options for all chapters without having to load a new chapter.
Change "Introcution" title to "Introduction and Contents"
|
|
This PR removes support for `ocamldoc` in favor of `odoc`.
Following a recent discussion in OCaml's discord, it turns out that
basically all the ecosystem has migrated to odoc, thus we follow suit
and may focus on `odoc` for Coq's ML API documentation.
|
|
New targets refman, refman-html and refman-pdf.
sphinx keeps its previous meaning (compatibility alias for refman-html).
install-doc-sphinx has been accidentally renamed.
|
|
|
|
|
|
This is not optimal for we have to rebuild the `.cmi` as
`ocamldoc` cannot yet use the `_install_ci/` directory.
Overall the `mli` documentation is in a sorry state, however, I think
this is a first step in order to improve it.
Note that the `ml-doc` target seems broken in OCaml 4.07.0, needs
investigation.
cc: #7155
|
|
"treat errors as warnings" flag (-W) is applied. "1" or undefined
includes the flag, other values or undefined omit it.
Removed the "-warn-error" parameter to configure. "-profile XXX" will
no longer cause these flags to be used.
|
|
|
|
|
|
|
|
|
|
|
|
AFAICS `imagemagick` `hacha` and `transfig` are not used anymore.
|
|
|
|
Most of these warnings should really be errors (ill-formed input,
invalid cross references, etc.) so we make it the default.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|