🔧 adjust docset generation script

parent a8e86ba9
...@@ -13,7 +13,6 @@ JSON_for_Modern_C++.docset: Info.plist docSet.sql ...@@ -13,7 +13,6 @@ JSON_for_Modern_C++.docset: Info.plist docSet.sql
# remove "JSON for Modern C++" from page titles # remove "JSON for Modern C++" from page titles
find JSON_for_Modern_C++.docset/Contents/Resources/Documents -type f -exec gsed -i 's| - JSON for Modern C++</title>|</title>|' {} + find JSON_for_Modern_C++.docset/Contents/Resources/Documents -type f -exec gsed -i 's| - JSON for Modern C++</title>|</title>|' {} +
# clean up # clean up
rm JSON_for_Modern_C++.docset/Contents/Resources/Documents/hooks.py
rm JSON_for_Modern_C++.docset/Contents/Resources/Documents/sitemap.* rm JSON_for_Modern_C++.docset/Contents/Resources/Documents/sitemap.*
# generate index # generate index
sqlite3 JSON_for_Modern_C++.docset/Contents/Resources/docSet.dsidx < docSet.sql sqlite3 JSON_for_Modern_C++.docset/Contents/Resources/docSet.dsidx < docSet.sql
......
{ {
"name": "JSON for Modern C++", "name": "JSON for Modern C++",
"version": "3.10.0", "version": "3.10.5",
"archive": "JSON_for_Modern_C++.tgz", "archive": "JSON_for_Modern_C++.tgz",
"author": { "author": {
"name": "Niels Lohmann", "name": "Niels Lohmann",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment