mirror of
https://gitflic.ru/project/erthink/libmdbx.git
synced 2025-03-09 14:42:20 +00:00
mdbx-doc: добавление ld+json
в корневой index.hml
This commit is contained in:
parent
283c962fea
commit
920d9b5b2f
@ -630,11 +630,12 @@ 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 docs/favicon.ico docs/manifest.webmanifest $(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 docs/ld+json $(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/favicon.ico docs/manifest.webmanifest 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/ && \
|
||||
$(SED) -i docs/html/index.html -e '/\/MathJax.js"><\/script>/r docs/ld+json'
|
||||
|
||||
mdbx++-dylib.o: src/config.h src/mdbx.c++ mdbx.h mdbx.h++ $(lastword $(MAKEFILE_LIST))
|
||||
@echo ' CC $@'
|
||||
|
27
docs/ld+json
Normal file
27
docs/ld+json
Normal file
@ -0,0 +1,27 @@
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "ItemList",
|
||||
"itemListElement": [{
|
||||
"@type": "ListItem",
|
||||
"position": 1,
|
||||
"name": "Группа в Telegram",
|
||||
"url": "https://t.me/libmdbx"
|
||||
},{
|
||||
"@type": "ListItem",
|
||||
"position": 2,
|
||||
"name": "Исходный код",
|
||||
"url": "https://gitflic.ru/project/erthink/libmdbx"
|
||||
},{
|
||||
"@type": "ListItem",
|
||||
"position": 3,
|
||||
"name": "C++ API",
|
||||
"url": "https://libmdbx.dqdkfa.ru/group__cxx__api.html"
|
||||
},{
|
||||
"@type": "ListItem",
|
||||
"position": 4,
|
||||
"name": "Mirror on Github",
|
||||
"url": "https://github.com/erthink/libmdbx"
|
||||
}]
|
||||
}
|
||||
</script>
|
Loading…
Reference in New Issue
Block a user