Commit Graph

507 Commits

Author SHA1 Message Date
Tatsuhiro Tsujikawa 8001f226b9 Update instruction and Dockerfile to build android binary 2015-01-11 17:04:50 +09:00
Tatsuhiro Tsujikawa fe750240c8 Update doc about nghttpx feature 2015-01-10 17:12:24 +09:00
Tatsuhiro Tsujikawa a3dcf1e004 Produce man pages using sphinx
Previously to create manual page for bundled programs, we use help2man
to create man page from program's help output.  Then our man2rst.py
script converts man page to rst document.  Sphinx generates html from
rst documents.

Now help2rst.py produces rst document from programs output.  We use
Sphinx solely to produce both man pages and html files.
2015-01-10 00:37:42 +09:00
Tatsuhiro Tsujikawa ad57435953 Update man pages 2015-01-07 01:40:55 +09:00
Tatsuhiro Tsujikawa 21b48d24e4 Remove altsvc 2014-12-07 23:11:54 +09:00
Tatsuhiro Tsujikawa e13c9102b8 Update man pages 2014-12-06 23:03:50 +09:00
Tatsuhiro Tsujikawa 14d8894b40 Update doc 2014-12-06 23:00:04 +09:00
Tatsuhiro Tsujikawa 381488a9bd doc: Add link to nghttp2.org 2014-12-03 23:14:44 +09:00
Tatsuhiro Tsujikawa 0cbc78656e building-android-binary.rst: Highlight sh code 2014-12-03 23:09:16 +09:00
Tatsuhiro Tsujikawa ed1ea91a6f Update man pages 2014-11-30 23:14:02 +09:00
Tatsuhiro Tsujikawa 30499005f8 Reformat source code in libnghttp2_asio.rst 2014-11-30 21:26:13 +09:00
Tatsuhiro Tsujikawa f2cd057e89 Update tutorial 2014-11-30 21:10:59 +09:00
Tatsuhiro Tsujikawa 1915408096 doc: Add language attribute in asio_http2.h.rst.in 2014-11-28 02:01:59 +09:00
Tatsuhiro Tsujikawa 0a406eab94 Add contribution guidelines 2014-11-27 23:56:29 +09:00
Andy Davies 4cf7b3cebd Fixed minor typo
turotial -> tutorial
2014-11-25 10:03:10 +00:00
Tatsuhiro Tsujikawa 8f22ff3032 Update man pages 2014-11-24 15:27:41 +09:00
Tatsuhiro Tsujikawa c59ffa09e0 Update man pages 2014-11-08 22:55:24 +09:00
Tatsuhiro Tsujikawa 14e56fcd81 Update man pages 2014-10-31 00:11:38 +09:00
Tatsuhiro Tsujikawa 0ef99b90d9 asio-lib: Make request_cb take const ref and use int64_t as http_date arg 2014-10-28 01:01:48 +09:00
Tatsuhiro Tsujikawa f70c142e10 doc: Remove note about legacy NULL concatenation of header field 2014-10-28 00:39:46 +09:00
Tatsuhiro Tsujikawa b3fbf047b2 Update man pages 2014-10-28 00:35:44 +09:00
Tatsuhiro Tsujikawa 0cd8da2cd9 Update doc 2014-10-28 00:18:28 +09:00
Tatsuhiro Tsujikawa d13ed04b17 Add Dockerfile.android 2014-10-19 21:51:43 +09:00
Tatsuhiro Tsujikawa cfbf907418 doc: Disable smartypants since we use '--' prefix for cmd options 2014-10-18 18:25:37 +09:00
Tatsuhiro Tsujikawa 19c2805d0d Update man pages 2014-10-14 23:30:44 +09:00
Tatsuhiro Tsujikawa f2bfe623fc Update doc 2014-10-09 21:40:26 +09:00
Tatsuhiro Tsujikawa 4e71e9e2e8 Update man pages 2014-09-28 23:34:07 +09:00
Tatsuhiro Tsujikawa 4023c26cf1 Update doc 2014-09-28 23:24:39 +09:00
Tatsuhiro Tsujikawa a0f558ee3c doc: Add example to use nghttp2::asio_http2::server::request::run_task 2014-09-28 16:55:32 +09:00
Tatsuhiro Tsujikawa 937bb9f768 Update doc 2014-09-26 01:25:00 +09:00
Tatsuhiro Tsujikawa c27ec6f57b doc: Add doc how to enable multi threading in libnghttp2_asio 2014-09-24 00:45:40 +09:00
Tatsuhiro Tsujikawa 83728219db Update doc 2014-09-24 00:45:40 +09:00
Tatsuhiro Tsujikawa 6fc12caa6d Just link to github releases page for released versions 2014-09-14 22:46:59 +09:00
Tatsuhiro Tsujikawa d00d4d647d Compile with android NDK r10b 32bit target
Android does not have _Exit.  We detect this and use _exit instead.
clang-3.4 has an issue around undefined reference to
__atomic_fetch_add_4, so we stick to gcc-4.8 for now.
2014-09-14 21:32:53 +09:00
Tatsuhiro Tsujikawa 5ff73de195 libevent-server: Use nghttp2_option_set_recv_client_preface() 2014-09-13 21:24:45 +09:00
Tatsuhiro Tsujikawa 0da0140026 Update man pages 2014-09-11 00:31:02 +09:00
Tatsuhiro Tsujikawa 340b52da84 Update man pages 2014-08-30 00:15:31 +09:00
Tatsuhiro Tsujikawa 0af71ee6be Update sphinx_rtd_theme 2014-08-30 00:07:48 +09:00
Tatsuhiro Tsujikawa 3daa6f2c30 doc: Update tutorials 2014-08-25 21:24:04 +09:00
Tatsuhiro Tsujikawa 2b4bd57c7f doc: Add building-android-binary document 2014-08-17 19:15:19 +09:00
Tatsuhiro Tsujikawa 1b8ad61779 doc: Add note how to re-open log files in nghttpx 2014-08-16 23:00:35 +09:00
Tatsuhiro Tsujikawa ede801d099 doc: Update man pages 2014-08-16 22:54:15 +09:00
Tatsuhiro Tsujikawa 9649b2d346 doc: Fix typo 2014-08-16 22:53:12 +09:00
Tatsuhiro Tsujikawa bf13d91264 nghttpx: Add hot deploy feature
nghttpx supports hot deploy feature using signals.  The host deploy in
nghttpx is multi step process.  First send USR2 signal to nghttpx
process.  It will do fork and execute new executable, using same
command-line arguments and environment variables.  At this point, both
current and new processes can accept requests.  To gracefully shutdown
current process, send QUIT signal to current nghttpx process.  When
all existing frontend connections are done, the current process will
exit.  At this point, only new nghttpx process exists and serves
incoming requests.
2014-08-13 00:43:54 +09:00
Tatsuhiro Tsujikawa 11fa71ba6c Update doc 2014-08-10 18:05:24 +09:00
Daniel Stenberg 2e0775d506 tutorial-server.rst: language
I went through and fixed the English and grammar somwhat
2014-08-01 10:50:23 +02:00
Tatsuhiro Tsujikawa 8838f666cb Update doc 2014-07-31 23:16:52 +09:00
Tatsuhiro Tsujikawa 8d29710393 Update man pages 2014-07-23 00:47:33 +09:00
Tatsuhiro Tsujikawa 0a2149f322 Update man pages 2014-07-18 21:26:32 +09:00
Tatsuhiro Tsujikawa 25326b40db doc: Generate HTML version manual page from manpage 2014-07-09 00:38:43 +09:00
Tatsuhiro Tsujikawa 2f91a7f603 Update doc 2014-07-01 00:26:02 +09:00
Tatsuhiro Tsujikawa a7501609e8 doc: Fix python-apiref.rst is not generated in distribution 2014-06-29 23:57:18 +09:00
Tatsuhiro Tsujikawa 8235bb136b doc: Add HPACK API tutorial 2014-06-29 23:45:49 +09:00
Tatsuhiro Tsujikawa 48c8c89a3f Add Rewriting location header field section to nghttpx how-to 2014-06-29 00:17:06 +09:00
Tatsuhiro Tsujikawa 305efe4181 Update doc 2014-06-28 00:25:23 +09:00
Tatsuhiro Tsujikawa 451c7d957d doc: Add h2load-howto.rst 2014-06-27 00:05:49 +09:00
Tatsuhiro Tsujikawa 15a7b0414c Update doc 2014-06-26 23:24:08 +09:00
Tatsuhiro Tsujikawa 323c3b4225 doc: Update tutorial 2014-06-18 13:14:07 +09:00
Tatsuhiro Tsujikawa 6cb971ee7b doc: Update reference 2014-06-18 12:15:15 +09:00
Tatsuhiro Tsujikawa 1cbb5a3d8f Update tutorial 2014-06-14 22:47:56 +09:00
Tatsuhiro Tsujikawa 7146954de2 Update man pages 2014-06-02 22:36:22 +09:00
Tatsuhiro Tsujikawa 453e12cd1f Update man pages 2014-05-16 23:54:09 +09:00
Tatsuhiro Tsujikawa ec30af9117 Update sphinx_rtd_theme to 54a48b1726ed602c9b5416ee46c639462ec315fe 2014-05-16 00:36:06 +09:00
Tatsuhiro Tsujikawa 03e2dabea9 doc: Add Python API doc 2014-05-13 21:46:39 +09:00
Tatsuhiro Tsujikawa f2bb7947ee Update doc 2014-05-10 23:22:06 +09:00
Tatsuhiro Tsujikawa f131705ba4 Add h2load.1 dev version for now to `make` happy 2014-05-10 00:34:56 +09:00
Tatsuhiro Tsujikawa 6a70584459 doc: Add h2load man page 2014-05-10 00:19:57 +09:00
Tatsuhiro Tsujikawa 29d2386f13 Update doc 2014-05-08 00:59:06 +09:00
Tatsuhiro Tsujikawa 48fc0c04bc doc: Update tutorial-client.rst 2014-05-08 00:11:36 +09:00
Tatsuhiro Tsujikawa 1d5a1b895b doc: Use autoconf template nghttpx-howto.rst.in properly 2014-04-20 23:42:15 +09:00
Tatsuhiro Tsujikawa e6fdb3418d doc: Add nghttpx-howto.rst 2014-04-20 23:35:07 +09:00
Tatsuhiro Tsujikawa 15e8d0de7b Update tutorial 2014-04-05 18:04:21 +09:00
Tatsuhiro Tsujikawa b671375abc doc: Update tutorial 2014-04-03 15:22:22 +09:00
Tatsuhiro Tsujikawa 334658044e Update tutorial 2014-03-30 21:08:04 +09:00
Tatsuhiro Tsujikawa ab2dc5967d Replace HTTP/2.0 with HTTP/2 2014-03-30 19:26:37 +09:00
Tatsuhiro Tsujikawa abdbd29d5f Update doc 2014-02-27 00:01:35 +09:00
Tatsuhiro Tsujikawa 46f5d4b1c4 examples: Check stream_data is null 2014-02-20 21:30:05 +09:00
Tatsuhiro Tsujikawa 649586fff6 Add nghttp2_session_mem_send() API function
This function behaves like nghttp2_session_send(), but it does not
use nghttp2_send_callback to send data. Instead, it returns the
serialized data to trasmit and its length to the caller.
2014-02-18 23:23:11 +09:00
Tatsuhiro Tsujikawa a9991133af Add man page generation script using help2man 2014-02-16 19:44:28 +09:00
Tatsuhiro Tsujikawa c7c496b029 Update doc 2014-02-16 15:30:46 +09:00
Tatsuhiro Tsujikawa a5353c22a6 doc: Add link to 0.3.1 release 2014-02-16 15:23:02 +09:00
Tatsuhiro Tsujikawa 5e27d67d55 Update sphinx_rtd_theme 2014-02-15 19:43:46 +09:00
Tatsuhiro Tsujikawa f25545b2db Fix doc EXTRA_DIST to include source .rst files
Also erase generated .rst files on `make clean`.
2014-02-15 17:49:32 +09:00
Tatsuhiro Tsujikawa a8ed200a20 doc: Add man pages for nghttp, nghttpd and nghttpx
Patch from Dave Beckett
2014-02-15 16:46:11 +09:00
Tatsuhiro Tsujikawa 01ca4373a1 Out-of-tree build for sphinx documents
The only drawback is that page source only contains include
directive. We disabled page source for now.
2014-02-13 23:44:54 +09:00
Tatsuhiro Tsujikawa cdcea8045f Include doc theme without recursive Makefiles 2014-02-09 17:40:06 +09:00
Tatsuhiro Tsujikawa d495451795 Add missing nghttp2.h.rst and nghttp2ver.h.rst to EXTRA_DIST 2014-02-08 16:37:48 +09:00
Tatsuhiro Tsujikawa adf17cd839 Remove sphinx_rtd_theme/static/font
Which was moved to spinx_rtd_theme/static/fonts
2014-02-08 16:35:20 +09:00
Tatsuhiro Tsujikawa 128eb61238 Include sphinx_rtd_theme to distribution
Patch from Dave Beckett
2014-02-08 16:29:18 +09:00
Tatsuhiro Tsujikawa 9d8cf9de5d Update doc 2014-02-05 23:23:09 +09:00
Tatsuhiro Tsujikawa 1e063ca54b Update sphinx_rtd_theme 2014-02-04 22:05:08 +09:00
Tatsuhiro Tsujikawa 318bf987d7 Add missing sphinx_rtd_theme fonts 2014-02-02 18:37:44 +09:00
Tatsuhiro Tsujikawa 2b30820de3 Update sphinx_rtd_theme 2014-02-02 18:35:21 +09:00
Tatsuhiro Tsujikawa 03a94ecca7 Update tutorial 2014-01-29 21:49:50 +09:00
Tatsuhiro Tsujikawa 67d4cb6367 examples: Log disconnected in delete_http2_session_data 2014-01-18 01:17:09 +09:00
Tatsuhiro Tsujikawa 0b14319675 doc, examples: Update tutorial and examples 2014-01-18 00:06:24 +09:00
Tatsuhiro Tsujikawa c230f4ff97 doc: Fix EXTRA_DIST 2014-01-11 00:21:57 +09:00
Tatsuhiro Tsujikawa df0b59cc94 Update copyright year to 2014 2014-01-05 22:17:12 +09:00
Tatsuhiro Tsujikawa cc954e077f Update doc 2013-12-28 22:09:17 +09:00
Tatsuhiro Tsujikawa 0921e364d7 doc: Add server tutorial, which is still in draft status 2013-12-26 23:37:42 +09:00
Tatsuhiro Tsujikawa 67b265f737 Update doc 2013-12-26 00:23:43 +09:00
Tatsuhiro Tsujikawa ee6df1f065 doc: Include libevent-client.c source code in the tutorial 2013-12-25 00:35:15 +09:00
Tatsuhiro Tsujikawa 50333cb570 doc: Add client tutorial 2013-12-25 00:30:48 +09:00
Tatsuhiro Tsujikawa 0af0bd4362 doc/mkapiref.py: Support python3.3 2013-12-19 00:05:54 +09:00
Tatsuhiro Tsujikawa 3c63936d3a Fix error on `make distcheck` 2013-12-15 16:36:43 +09:00
Tatsuhiro Tsujikawa ffed4f0031 doc: Add link to github pages 2013-12-07 14:56:13 +09:00
Tatsuhiro Tsujikawa 9aba2130a1 doc: Remove menu, write github URI in index.rst 2013-12-07 01:57:56 +09:00
Tatsuhiro Tsujikawa 0611768506 doc: Use Read The Docs sphinx theme 2013-12-07 01:27:56 +09:00
Tatsuhiro Tsujikawa 58dd118c89 Update doc 2013-12-06 01:47:35 +09:00
Tatsuhiro Tsujikawa 888e6f0193 Update doc 2013-11-22 00:33:18 +09:00
Tatsuhiro Tsujikawa 873477d9bd mkapiref.py: Handle enum value with spaces (e.g., 1 << 2) 2013-11-08 00:21:50 +09:00
Tatsuhiro Tsujikawa bc347d6bb9 Update doc 2013-11-05 00:51:02 +09:00
Tatsuhiro Tsujikawa b813c1986d Update doc 2013-10-28 23:34:11 +09:00
Dave Reisner c53502a261 Play nicely with py3k for building docs
Previously, mkapiref.py required python2.6, as it used format strings,
but continued to use print as a keyword, not a function. But, since 2.6
is implicitly made a requirement, we can also count on print being
available as a function.

This change adds python2.6 as a soft requirement during ./configure,
and converts all print keywords to statements. There's no need to do
anything about the actual building of the doc since sphinx-build can
run under python2 and python3.

The net result is that it no longer matters whether 'python' points to
python2 or python3 (see PEP394), because both will be able to run
mkapiref.py successfully.
2013-09-07 09:48:36 -04:00
Tatsuhiro Tsujikawa 50dd5074a5 doc: Include header files in documentation 2013-09-04 22:57:02 +09:00
Tatsuhiro Tsujikawa 39d50f9b88 Update doc 2013-08-29 00:29:25 +09:00
Tatsuhiro Tsujikawa 6e314955e5 Use network-path reference when importing font 2013-08-15 10:39:25 +09:00
Tatsuhiro Tsujikawa d132427788 Update doc 2013-08-04 18:29:31 +09:00
Tatsuhiro Tsujikawa 0edce70343 Rebranding nghttp2 2013-07-13 00:43:06 +09:00
Tatsuhiro Tsujikawa 04c13560de doc: Update doc 2013-03-24 21:24:14 +09:00
Tatsuhiro Tsujikawa 2c3195d300 doc: Update doc theme 2013-03-11 00:29:33 +09:00
Tatsuhiro Tsujikawa da83726b2f doc: Add android-spdy-proxy document 2013-03-11 00:11:59 +09:00
Tatsuhiro Tsujikawa bae80e5667 doc: Specify static file explicitly 2013-02-19 23:34:52 +09:00
Tatsuhiro Tsujikawa 555e158247 Update doc 2013-02-19 22:08:39 +09:00
Tatsuhiro Tsujikawa 9735950a12 doc: Update css 2013-02-18 00:28:03 +09:00
Tatsuhiro Tsujikawa 7b3d24bcc5 Don't install default2.css menu.html 2013-02-02 20:54:54 +09:00
Tatsuhiro Tsujikawa bcf566a2f4 doc: Fix packaging and customize theme 2013-02-02 18:52:09 +09:00
Tatsuhiro Tsujikawa 0c8c6614d7 doc: Move links to sidebar 2013-01-12 17:27:05 +09:00
Tatsuhiro Tsujikawa 7760929153 doc: Update copyright year 2013-01-12 17:08:17 +09:00
Tatsuhiro Tsujikawa 58f92d48c9 Add remarks about callbacks and spdylay_session_{recv,send} 2012-12-23 01:24:56 +09:00
Tatsuhiro Tsujikawa 23cbad64db Update doc 2012-09-12 22:37:05 +09:00
Tatsuhiro Tsujikawa c1b130acd0 python: Don't raise exception from Session.resume_data()
In practice, Session.resume_data() will be used without checking there
is deferred data or not. Actually, there is no API to check this.  So
it is better not to raise exception. Instead return False to notify
error. If the method succeeds, it returns True.
2012-09-10 22:10:54 +09:00
Tatsuhiro Tsujikawa fb6ef096c6 python: document urlfetch 2012-08-28 01:47:21 +09:00
Tatsuhiro Tsujikawa 6b64276c08 python: add get_npn_protocols() function
get_npn_protocols() is high level wrapper for
spdylay_npn_get_proto_list() and the returned list can be passed to
ssl.SSLContext.set_npn_protocols().
2012-08-27 23:32:27 +09:00
Tatsuhiro Tsujikawa dcba568ff9 python: make assoc_stream_id and stream_user_data in submit_syn_stream optional 2012-08-24 23:34:48 +09:00
Tatsuhiro Tsujikawa 1b91860187 python: update doc 2012-08-24 01:28:18 +09:00
Tatsuhiro Tsujikawa 7ce24fc122 python: rewritten simple SPDY server. Add npn_get_version() helper function. 2012-08-24 00:27:07 +09:00
Tatsuhiro Tsujikawa dbe7cda79b python: update doc 2012-08-23 21:23:33 +09:00
Tatsuhiro Tsujikawa 56d53da7f6 python: update manual 2012-08-23 00:32:49 +09:00
Tatsuhiro Tsujikawa cb6fdb4e02 python: add remaining callbacks except for CREDENTIAL related ones 2012-08-23 00:13:50 +09:00
Tatsuhiro Tsujikawa a2b861e279 python: documented DataProvider 2012-08-22 22:11:59 +09:00
Tatsuhiro Tsujikawa 870210e859 python: add Session.submit_window_update() 2012-08-22 02:08:03 +09:00
Tatsuhiro Tsujikawa 396d4a7fae python: add Session.submit_ping() 2012-08-22 01:49:02 +09:00
Tatsuhiro Tsujikawa 7a362e23b3 python: add Session.submit_headers() 2012-08-22 01:41:07 +09:00
Tatsuhiro Tsujikawa 7580c9f671 python: add Session.submit_data() 2012-08-22 01:28:05 +09:00
Tatsuhiro Tsujikawa 78f6119196 python: add config argument to Session.__init__ 2012-08-22 01:12:00 +09:00
Tatsuhiro Tsujikawa 135ae8cc36 python: document currently implemented methods 2012-08-22 00:05:12 +09:00
Tatsuhiro Tsujikawa dabe39dd1d python: add Spdylay Python extension API doc 2012-08-21 01:10:10 +09:00
Tatsuhiro Tsujikawa c644322d89 manual: Include enum value in manual 2012-08-03 22:35:55 +09:00
Tatsuhiro Tsujikawa 1f74979629 Include README.rst in manual 2012-05-19 22:05:56 +09:00
Tatsuhiro Tsujikawa 7b239cc7b0 Packaging fix 2012-04-25 22:27:50 +09:00
Tatsuhiro Tsujikawa 9c40b5cce6 Updated doc 2012-04-25 21:25:51 +09:00
Tatsuhiro Tsujikawa 9a4be04c79 Fixed heading level 2012-03-14 02:20:53 +09:00
Tatsuhiro Tsujikawa 5275b66e42 Added URIs to project/code hosting sites. 2012-03-14 00:47:03 +09:00
Tatsuhiro Tsujikawa 07b02404c3 Added API reference generator script.
Formatted the public APIs with Sphinx syntax.
2012-03-14 00:32:52 +09:00
Tatsuhiro Tsujikawa 1c09a69d58 Set default_role and domain 2012-03-13 21:36:25 +09:00
Tatsuhiro Tsujikawa f346b8f88b Added sphinx doc 2012-03-11 23:18:09 +09:00