mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-15 01:17:45 +00:00
d7baabab8d
As part of factoring out the documentation building parts of the fish build, add a new file build_user_doc.sh that builds the user_doc directory. Invoke it from both the Makefile and CMake build.
16 lines
462 B
Bash
Executable file
16 lines
462 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# Usage: Doxyfile.user lexicon_filter
|
|
DOXYFILE=$1
|
|
LEXICON_FILTER=$2
|
|
|
|
(cat "${DOXYFILE}" ;\
|
|
echo INPUT_FILTER="${LEXICON_FILTER}"; \
|
|
echo PROJECT_NUMBER=${FISH_BUILD_VERSION} \
|
|
| /usr/bin/env sed "s/-.*//") \
|
|
| doxygen - && touch user_doc
|
|
|
|
(cd ./user_doc/html/ && \
|
|
rm -f bc_s.png bdwn.png closed.png doc.png folder*.png ftv2*.png \
|
|
nav*.png open.png splitbar.png sync_*.png tab*.* doxygen.* \
|
|
dynsections.js jquery.js pages.html)
|