Skip to content

Commit 50f6779

Browse files
committed
Merge pull request open-source-parsers#10 from cdunn2001/doxy
Doxy
2 parents 0db9d6e + 5a65132 commit 50f6779

File tree

7 files changed

+1678
-970
lines changed

7 files changed

+1678
-970
lines changed

.gitignore

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
*.actual-rewrite
66
*.process-output
77
*.rewrite
8-
bin/
9-
buildscons/
10-
libs/
8+
/bin/
9+
/buildscons/
10+
/libs/
11+
/doc/doxyfile
12+
/dist/

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ Building the documentation
141141

142142
Run the Python script `doxybuild.py` from the top directory:
143143

144-
python doxybuild.py --open --with-dot
144+
python doxybuild.py --doxygen=$(which doxygen) --open --with-dot
145145

146146
See `doxybuild.py --help` for options.
147147

doc/doxyfile.in

Lines changed: 1652 additions & 884 deletions
Large diffs are not rendered by default.

doc/footer.html

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,3 @@
11
<hr>
2-
<table width="100%">
3-
<tr>
4-
<td width="10%" align="left" valign="center">
5-
<a href="http://sourceforge.net">
6-
<img
7-
src="http://sourceforge.net/sflogo.php?group_id=144446"
8-
width="88" height="31" border="0" alt="SourceForge Logo"></a>
9-
</td>
10-
<td width="20%" align="left" valign="center">
11-
hosts this site.
12-
</td>
13-
<td>
14-
</td>
15-
<td align="right" valign="center">
16-
Send comments to:<br>
17-
<a href="mailto:[email protected]">Json-cpp Developers</a>
18-
</td>
19-
</tr>
20-
</table>
21-
222
</body>
233
</html>

doc/jsoncpp.dox

Lines changed: 18 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,11 @@ Here is an example of JSON data:
2525
"indent" : { "length" : 3, "use_space": true }
2626
}
2727
\endverbatim
28+
<code>jsoncpp</code> supports comments as <i>meta-data</i>.
2829

2930
\section _features Features
3031
- read and write JSON document
31-
- attach C and C++ style comments to element during parsing
32+
- attach C++ style comments to element during parsing
3233
- rewrite JSON document preserving original comments
3334

3435
Notes: Comments used to be supported in JSON but where removed for
@@ -84,43 +85,35 @@ std::cout << root;
8485

8586
\section _pbuild Build instructions
8687
The build instructions are located in the file
87-
<a HREF="README.txt">README.txt</a> in the top-directory of the project.
88+
<a HREF="https://github.com/open-source-parsers/jsoncpp/blob/master/README.md">README.md</a> in the top-directory of the project.
8889

89-
Permanent link to the latest revision of the file in subversion:
90-
<a HREF="http://jsoncpp.svn.sourceforge.net/viewvc/jsoncpp/trunk/jsoncpp/README.txt?view=markup">latest README.txt</a>
91-
92-
\section _pdownload Download
93-
The sources can be downloaded from
94-
<a HREF="http://sourceforge.net/projects/jsoncpp/files/">SourceForge download page</a>.
95-
96-
The latest version of the source is available in the project's subversion repository:
97-
<a HREF="http://jsoncpp.svn.sourceforge.net/svnroot/jsoncpp/trunk/">
98-
http://jsoncpp.svn.sourceforge.net/svnroot/jsoncpp/trunk/</a>
99-
100-
To checkout the source, see the following
101-
<a HREF="http://sourceforge.net/scm/?type=svn&group_id=144446">instructions</a>.
90+
The latest version of the source is available in the project's GitHub repository:
91+
<a HREF="https://github.com/open-source-parsers/jsoncpp/">
92+
jsoncpp</a>
10293

10394
\section _news What's New?
10495
The description of latest changes can be found in
105-
<a HREF="NEWS.txt">NEWS.txt</a> in the top-directory of the project.
106-
107-
Permanent link to the latest revision of the file in subversion:
108-
<a HREF="http://svn.sourceforge.net/viewcvs.cgi/jsoncpp/README.txt?view=markup">latest NEWS.txt</a>
109-
110-
\section _plinks Project links
111-
- <a HREF="http://jsoncpp.sourceforge.net">json-cpp home</a>
112-
- <a HREF="http://www.sourceforge.net/projects/jsoncpp/">json-cpp sourceforge project</a>
96+
<a HREF="https://github.com/open-source-parsers/jsoncpp/wiki/NEWS">
97+
the NEWS wiki
98+
</a>.
11399

114100
\section _rlinks Related links
115101
- <a HREF="http://www.json.org/">JSON</a> Specification and alternate language implementations.
116102
- <a HREF="http://www.yaml.org/">YAML</a> A data format designed for human readability.
117103
- <a HREF="http://www.cl.cam.ac.uk/~mgk25/unicode.html">UTF-8 and Unicode FAQ</a>.
118104

105+
\section _plinks Old project links
106+
- <a href="https://sourceforge.net/projects/jsoncpp/">https://sourceforge.net/projects/jsoncpp/</a>
107+
- <a href="http://jsoncpp.sourceforge.net">http://jsoncpp.sourceforge.net</a>
108+
- <a href="http://sourceforge.net/projects/jsoncpp/files/">http://sourceforge.net/projects/jsoncpp/files/</a>
109+
- <a href="http://jsoncpp.svn.sourceforge.net/svnroot/jsoncpp/trunk/">http://jsoncpp.svn.sourceforge.net/svnroot/jsoncpp/trunk/</a>
110+
- <a href="http://jsoncpp.sourceforge.net/old.html">http://jsoncpp.sourceforge.net/old.html</a>
111+
119112
\section _license License
120-
See file <a HREF="LICENSE">LICENSE</a> in the top-directory of the project.
113+
See file <a href="https://github.com/open-source-parsers/jsoncpp/blob/master/LICENSE"><code>LICENSE</code></a> in the top-directory of the project.
121114

122115
Basically JsonCpp is licensed under MIT license, or public domain if desired
123116
and recognized in your jurisdiction.
124117

125-
\author Baptiste Lepilleur <[email protected]>
118+
\author Baptiste Lepilleur <[email protected]> (originator)
126119
*/

doc/roadmap.dox

Lines changed: 1 addition & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,3 @@
11
/*! \page roadmap JsonCpp roadmap
2-
\section ms_release Makes JsonCpp ready for release
3-
- Build system clean-up:
4-
- Fix build on Windows (shared-library build is broken)
5-
- Compile and run tests using shared library on Windows to ensure no JSON_API macro is missing.
6-
- Add enable/disable flag for static and shared library build
7-
- Enhance help
8-
- Platform portability check: (Notes: was ok on last check)
9-
- linux/gcc,
10-
- solaris/cc,
11-
- windows/msvc678,
12-
- aix/vacpp
13-
- Add JsonCpp version to header as numeric for use in preprocessor test
14-
- Remove buggy experimental hash stuff
15-
\section ms_strict Adds a strict mode to reader/parser
16-
Strict JSON support as specific in RFC 4627 (http://www.ietf.org/rfc/rfc4627.txt?number=4627).
17-
- Enforce only object or array as root element
18-
- Disable comment support
19-
- Get jsonchecker failing tests to pass in strict mode
20-
\section ms_writer Writter control
21-
Provides more control to determine how specific items are serialized when JSON allow choice:
22-
- Optionally allow escaping of non-ASCII characters using unicode escape sequence "\\u".
23-
- Optionally allow escaping of "/" using "\/".
24-
\section ms_separation Expose json reader/writer API that do not impose using Json::Value.
25-
Some typical use-case involve an application specific structure to/from a JSON document.
26-
- Event base parser to allow unserializing a Json document directly in datastructure instead of
27-
using the intermediate Json::Value.
28-
- Stream based parser to serialized a Json document without using Json::Value as input.
29-
- Performance oriented parser/writer:
30-
- Provides an event based parser. Should allow pulling & skipping events for ease of use.
31-
- Provides a JSON document builder: fast only.
32-
\section ms_perfo Performance tuning
33-
- Provides support for static property name definition avoiding allocation
34-
- Static property dictionnary can be provided to JSON reader
35-
- Performance scenario & benchmarking
36-
\section testing Testing
37-
- Adds more tests for unicode parsing (e.g. including surrogate and error detection).
2+
Moved to: https://github.com/open-source-parsers/jsoncpp/wiki/Roadmap
383
*/

doxybuild.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def yesno( bool ):
116116
ok = run_doxygen( options.doxygen_path, 'doc/doxyfile', 'doc', is_silent=options.silent )
117117
if not options.silent:
118118
print open(warning_log_path, 'rb').read()
119-
index_path = os.path.abspath(os.path.join(subst_keys['%HTML_OUTPUT%'], 'index.html'))
119+
index_path = os.path.abspath(os.path.join('doc', subst_keys['%HTML_OUTPUT%'], 'index.html'))
120120
print 'Generated documentation can be found in:'
121121
print index_path
122122
if options.open:

0 commit comments

Comments
 (0)