🔧 adjust docset generation script

This commit is contained in:
Niels Lohmann 2022-01-04 15:20:50 +01:00
parent a8e86ba948
commit 4fc7b3dc7c
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69
2 changed files with 1 additions and 2 deletions

View File

@ -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

View File

@ -1,6 +1,6 @@
{ {
"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",