mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-24 04:42:39 +08: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.
17 lines
462 B
Bash
Executable File
17 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)
|