Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
json
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
json
Commits
4fc7b3dc
Unverified
Commit
4fc7b3dc
authored
Jan 04, 2022
by
Niels Lohmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🔧
adjust docset generation script
parent
a8e86ba9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
doc/docset/Makefile
doc/docset/Makefile
+0
-1
doc/docset/docset.json
doc/docset/docset.json
+1
-1
No files found.
doc/docset/Makefile
View file @
4fc7b3dc
...
@@ -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
...
...
doc/docset/docset.json
View file @
4fc7b3dc
{
{
"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"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment