272 Commits

Author SHA1 Message Date
Philipp A. Hartmann
b3665606a9 fixup travis doxygen build 2014-07-09 08:01:25 +02:00
miloyip
a5b39958ea Adding git config in travis doxygen 2014-07-09 13:21:07 +08:00
Milo Yip
d3cb1866bf Merge pull request #56 from pah/doc/travis-doxygen-script
Travis CI: build/update Doxygen from separate script
2014-07-09 09:17:29 +08:00
Philipp A. Hartmann
7c7eb1c5c0 Travis CI: build/update Doxygen from separate script
In this patch, a script 'build/travis-doxygen.sh' is added to
build and push the Doxygen documentation to the GitHub pages at
https://miloyip.githib.io/rapidjson.

The script exits gracefully, if the build is requested for
 - a branch other than 'master'
 - a pull-request
 - a job (i.e. CI configuration) other than "1"

In case the "secure variables" are not available, only the final upload
is skipped, in order to allow testing of the script's basic functionality.

Update .travis.yml to call the script.
2014-07-08 18:56:07 +02:00
Milo Yip
994fdf8f1e Merge pull request #55 from pah/fixes/pragma-warning
Add RAPIDJSON_DIAG_* macros to handle compiler warnings
2014-07-08 22:21:57 +08:00
Philipp A. Hartmann
6aa601cd51 perftest.h/unittest.h: fix pragma ordering 2014-07-08 15:12:02 +02:00
Philipp A. Hartmann
813da24d72 Add RAPIDJSON_DIAG_* macros to handle compiler warnings
Warning push/pop support has been added to GCC in version 4.6.0,
and pragmas to ignore certain warnings are present since 4.2.0.
This patch hides the compiler-specific warning push/pop/disable
pragmas behind a macro-based implementation (currently for MSVC and
clang /GCC.

This avoids warnings, as seen e.g. on GCC 4.4:
  ../../include/rapidjson/document.h:14: error: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’
and earlier versions complaining about unknown pragmas being ignored.

Note: unittest.h and perftest.h need to check for compilers
explicitly, as rapidjson.h is not included there.
2014-07-08 14:45:19 +02:00
Milo Yip
9ff95ca2cf Minor changes of doc 2014-07-08 14:38:25 +08:00
Milo Yip
3600c6b474 Update table CSS 2014-07-08 14:21:17 +08:00
Milo Yip
62970ee230 Improves documentation style, TOC, fixes links.
Some links will become broken in GitHub.
2014-07-08 14:11:18 +08:00
Milo Yip
400430804d Merge pull request #52 from miloyip/TravisDoxygen
Travis doxygen
2014-07-08 09:41:10 +08:00
Milo Yip
a0e2a1e03f Remove unused sh 2014-07-08 09:40:18 +08:00
Milo Yip
9fbb638a65 Fixes another path issue 2014-07-08 09:30:59 +08:00
Milo Yip
8021a626f5 Fixes path 2014-07-08 09:21:50 +08:00
Milo Yip
4287a4b2b8 Use wget instead of curl 2014-07-08 09:13:29 +08:00
Milo Yip
2e8f7e95a0 Try using doxygen binary 2014-07-08 09:04:09 +08:00
Milo Yip
b85f16154f fixes whitespaces 2014-07-08 08:33:14 +08:00
Milo Yip
45e246365c Reactivate normal building process 2014-07-08 03:45:14 +08:00
Milo Yip
0fbb05c42b Try auto upload again 2014-07-08 03:18:57 +08:00
Milo Yip
095857fc6e Try automatic upload 2014-07-08 02:54:35 +08:00
Milo Yip
8fa09bc2fd Try again 2014-07-08 02:12:12 +08:00
Milo Yip
af226cf299 Try -a 2014-07-08 02:06:22 +08:00
Milo Yip
925998fd1e Again 2014-07-08 01:56:16 +08:00
Milo Yip
91b5607cdd Try again 2014-07-08 01:44:14 +08:00
Milo Yip
bfba0d5ac9 Fixes travis_doxygen.sh 2014-07-08 01:34:27 +08:00
Milo Yip
4720d4a2dd Change line ending 2014-07-08 01:18:38 +08:00
Milo Yip
e5cd989d7f Fixes travis_doxygen.sh 2014-07-08 01:00:48 +08:00
Milo Yip
461b84cf38 Add chmod +x 2014-07-08 00:51:46 +08:00
Milo Yip
3e88c558e4 Adding ./ 2014-07-08 00:43:01 +08:00
Milo Yip
a3b05bbcff Adding sudo 2014-07-08 00:34:17 +08:00
Milo Yip
0e092bdb13 Try build doxygen 2014-07-08 00:29:08 +08:00
Milo Yip
4a49c5eff6 build doxygen 2014-07-08 00:20:10 +08:00
Milo Yip
1f655cb48e Try default doxygen 2014-07-07 23:34:41 +08:00
Milo Yip
bb7f2c8e72 Install latest doxygen 2014-07-07 23:26:40 +08:00
Milo Yip
7384fe979c Change directory 2014-07-07 23:17:09 +08:00
Milo Yip
71901bc84e Try again 2014-07-07 23:08:37 +08:00
Milo Yip
fc8bd7541d Try running doxygen 2014-07-07 22:26:44 +08:00
miloyip
8d612570c8 Revise doxygen style
Imitate readthedocs
2014-07-07 19:15:10 +08:00
Milo Yip
19cdf7b77f Delete customdoxygen.css 2014-07-07 01:12:13 +08:00
Milo Yip
6e4d8db51d Fix readme issue in doxygen, customize css
Imitate GitHub markdown rendering
2014-07-07 01:01:49 +08:00
Milo Yip
d6497d86f8 Update dom.md
Fixes diagrams URL in DOM
2014-07-06 22:51:09 +08:00
Milo Yip
bcd935be87 Merge remote-tracking branch 'origin/master'
Conflicts:
	doc/stream.md
	doc/tutorial.md
2014-07-06 22:48:21 +08:00
Milo Yip
698496e3f3 Minor document adjustments 2014-07-06 22:43:52 +08:00
Milo Yip
4cadecd32d Wrote DOM
But some examples are to be filled in.
2014-07-06 22:43:21 +08:00
Milo Yip
7398f66f61 Merge pull request #49 from pah/doc/doxygen-markdown
Integrate Markdown pages into Doxygen documentation
2014-07-06 22:42:09 +08:00
Philipp A. Hartmann
a213d2d881 Doxygen: fixup main page
To avoid the {#mainpage} tag to be rendered on GitHub, explicitly add a
`\mainpage` section to `rapidjson.h`, referring to `readme.md`.
2014-07-06 16:39:23 +02:00
Philipp A. Hartmann
b197be2f30 stream.md: prepare Markdown for GitHub and Doxygen rendering 2014-07-06 15:35:43 +02:00
Philipp A. Hartmann
ba05cc1377 tutorial.md: prepare Markdown for GitHub and Doxygen rendering 2014-07-06 15:35:43 +02:00
Philipp A. Hartmann
2a57d97f63 features.md: prepare Markdown for GitHub and Doxygen rendering 2014-07-06 15:35:43 +02:00
Philipp A. Hartmann
b30c3c0538 readme.md: prepare Markdown for GitHub and Doxygen rendering 2014-07-06 15:35:43 +02:00