diff --git a/GNUmakefile b/GNUmakefile index 355ce295..e8da9a35 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -623,11 +623,11 @@ docs/usage.md: docs/__usage.md docs/_starting.md docs/__bindings.md @echo ' MAKE $@' $(QUIET)echo -e "\\page usage Usage\n\\section getting Building & Embedding" | cat - $^ | sed 's/^Bindings$$/Bindings {#bindings}/' >$@ -doxygen: docs/Doxyfile docs/overall.md docs/intro.md docs/usage.md mdbx.h mdbx.h++ src/options.h ChangeLog.md COPYRIGHT LICENSE NOTICE $(lastword $(MAKEFILE_LIST)) +doxygen: docs/Doxyfile docs/overall.md docs/intro.md docs/usage.md mdbx.h mdbx.h++ src/options.h ChangeLog.md COPYRIGHT LICENSE NOTICE docs/favicon.ico docs/manifest.webmanifest $(lastword $(MAKEFILE_LIST)) @echo ' RUNNING doxygen...' $(QUIET)rm -rf docs/html && \ cat mdbx.h | tr '\n' '\r' | sed -e 's/LIBMDBX_INLINE_API\s*(\s*\([^,]\+\),\s*\([^,]\+\),\s*(\s*\([^)]\+\)\s*)\s*)\s*{/inline \1 \2(\3) {/g' | tr '\r' '\n' >docs/mdbx.h && \ - cp mdbx.h++ src/options.h ChangeLog.md docs/ && (cd docs && doxygen Doxyfile $(HUSH)) && cp COPYRIGHT LICENSE NOTICE docs/html/ + cp mdbx.h++ src/options.h ChangeLog.md docs/ && (cd docs && doxygen Doxyfile $(HUSH)) && cp COPYRIGHT LICENSE NOTICE docs/favicon.ico docs/manifest.webmanifest docs/html/ mdbx++-dylib.o: src/config.h src/mdbx.c++ mdbx.h mdbx.h++ $(lastword $(MAKEFILE_LIST)) @echo ' CC $@' diff --git a/docs/favicon.ico b/docs/favicon.ico new file mode 100644 index 00000000..ee03266f Binary files /dev/null and b/docs/favicon.ico differ diff --git a/docs/header.html b/docs/header.html index f6b746ca..f6827f4e 100644 --- a/docs/header.html +++ b/docs/header.html @@ -1,10 +1,13 @@ - + + + + $projectname: $title $title diff --git a/docs/manifest.webmanifest b/docs/manifest.webmanifest new file mode 100644 index 00000000..d2f8a965 --- /dev/null +++ b/docs/manifest.webmanifest @@ -0,0 +1,6 @@ +{ + "icons": [ + { "src": "favicon.ico", "type": "image/ico", "sizes": "32x32" }, + { "src": "img/bear.png", "type": "image/png", "sizes": "256x256" } + ] +} \ No newline at end of file