mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-13 04:42:12 +03:00
More documentation fixes.
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -187,6 +187,8 @@ Important CSS3 features that are currently supported:
|
||||
|
||||
* [Most of the background properties](https://developer.mozilla.org/en-US/docs/Web/CSS/background)
|
||||
|
||||
See the [CSS Specification](docs/articles/cssspecification.md) for more information.
|
||||
|
||||
## Write the CSS
|
||||
|
||||
Following [Load the XML Layout Resource](#load-the-xml-layout-resource) we are
|
||||
|
||||
@@ -8,6 +8,7 @@ clean:
|
||||
|
||||
doxygen:
|
||||
cd ../../ && doxygen Doxyfile
|
||||
sh fix_md_files.sh
|
||||
|
||||
doxyrest: doxygen
|
||||
doxyrest -c doxyrest-config.lua
|
||||
|
||||
27
docs/doxyrest/fix_md_files.sh
Executable file
27
docs/doxyrest/fix_md_files.sh
Executable file
@@ -0,0 +1,27 @@
|
||||
#!/bin/bash
|
||||
SOURCE="${BASH_SOURCE[0]}"
|
||||
while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink
|
||||
DIR="$( cd -P "$( dirname "$SOURCE" )" >/dev/null 2>&1 && pwd )"
|
||||
SOURCE="$(readlink "$SOURCE")"
|
||||
[[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE" # if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was located
|
||||
done
|
||||
DIR="$( cd -P "$( dirname "$SOURCE" )" >/dev/null 2>&1 && pwd )"
|
||||
|
||||
cd ${DIR}
|
||||
cd ../articles
|
||||
|
||||
DIR=`pwd`
|
||||
NAME="md_$(echo ${DIR} | sed -e 's/\//_/g')_"
|
||||
|
||||
echo "Replace files with \"${NAME}\""
|
||||
|
||||
cd ../xml
|
||||
|
||||
find . -type f -name "*${NAME}*" | while read FILE ; do
|
||||
echo "Renaming ${FILE}"
|
||||
newfile="$(echo ${FILE} | sed -e "s/${NAME}//g")";
|
||||
echo "New file ${newfile}";
|
||||
mv "${FILE}" "${newfile}";
|
||||
done
|
||||
|
||||
find . -name '*.xml' -exec sed -i -e "s/${NAME}//g" {} \;
|
||||
Reference in New Issue
Block a user