Commit Graph

3232 Commits (048d3cd25b7c2bef680ba6f8841933a4dfb8c2dc)

Author SHA1 Message Date
Eric Holscher 048d3cd25b Use https github links. Fixes #539. 2014-01-03 14:48:59 -05:00
Eric Holscher 0e1a19dbbd Fix tasks logger too 2014-01-03 14:41:34 -05:00
Eric Holscher 6ef85173e8 Use unicode string for format. Fixes #568. 2014-01-03 14:40:24 -05:00
Eric Holscher beb597dbbf Fix canonical page variable placement 2014-01-03 11:38:46 -05:00
Eric Holscher c6d2bdbe0c Merge pull request #600 from rtfd/issue-293-part-two
Issue 293 part two
2014-01-03 08:07:56 -08:00
Eric Holscher 88fce1ae39 Single version* 2014-01-03 11:04:25 -05:00
Eric Holscher bc67a35c7c Fix canonical page logic for single page sites 2014-01-03 11:02:56 -05:00
Eric Holscher 6c3ef5e9a7 Specify pip version 2014-01-02 10:44:48 -05:00
Eric Holscher d31f285114 Include pandoc. Refs #579 2014-01-02 10:37:25 -05:00
Eric Holscher a2ba838fef Merge pull request #603 from toffer/bugfix-602-https-redirect-to-http
Preserve scheme (http or https) in rewrite rule.
2013-12-31 13:25:43 -08:00
Eric Holscher 476bd6bf7c Fix logic from 6f5e8f5 2013-12-31 16:17:31 -05:00
Tom Offermann f05f13d3cb Add nginx-smoke-test.py.
Run this test script to verify that a change to
the Nginx configuration behaves correctly.
2013-12-31 12:21:45 -08:00
Eric Holscher 6f5e8f5fcc Only show languages if we have translations 2013-12-31 14:16:00 -05:00
Tom Offermann bdedc0c562 Preserve scheme (http or https) in rewrite rule. 2013-12-31 11:15:19 -08:00
Eric Holscher a06e3d4ad0 Merge pull request #597 from maskit/feature/language-selection
Add language selection to nav at lower left
2013-12-31 11:09:06 -08:00
Eric Holscher df48c59b61 Merge pull request #599 from rtfd/issue-598-fix-translation-symlink
Create /translations/en directory before symlinking.
2013-12-31 10:58:28 -08:00
Eric Holscher abe150ec6b Merge pull request #596 from groovecoder/slashed-branch-name-link-561
fix #561 - de-slugify remote branch when / present
2013-12-31 09:11:46 -08:00
Tom Offermann 25ed8de20b Create single_version symlink. 2013-12-30 22:37:39 -08:00
Tom Offermann 7d7eeef754 Create /translations/en directory before symlinking.
One of the last steps of the build process is to create the symlink
for /translations/en/, but the directory must exist before attempting
to symlink.
2013-12-30 21:43:44 -08:00
Masakazu Kitajo 5bceb26e99 Add language selection to nav at lower left 2013-12-30 17:14:21 +09:00
Tom Offermann 8ff021b9da Use try_files in Nginx config to serve docs.
Should handle /en/latest/ URLs, as well as single_version URLs.
2013-12-29 23:21:47 -08:00
groovecoder c00b8b1f26 fix #561 - de-slugify remote branch when / present 2013-12-27 20:44:07 -06:00
Eric Holscher 1cc9b070b7 Always link to latest version for docs. 2013-12-25 22:32:28 -05:00
Eric Holscher 89dd5bca86 Fix #594 2013-12-23 13:50:32 -05:00
Eric Holscher 25409c94db Merge pull request #593 from rtfd/canonical-urls
Initial support for Canonical URLs
2013-12-23 05:44:31 -08:00
Eric Holscher 43caf68a0d Comment out, but output, RTD canonical URLs for now. 2013-12-22 11:15:38 -05:00
Eric Holscher fb6e749318 Use RTD when no canonical_url is set. 2013-12-22 11:02:21 -05:00
Eric Holscher 0982860960 Add link to contribution-guide.org /cc @bitprophet 2013-12-21 23:11:48 -05:00
Eric Holscher a71b5ab867 Sneak language support into template context 2013-12-21 18:31:20 -05:00
Eric Holscher 16149bd812 Add a start of canonical URL support. 2013-12-21 18:28:27 -05:00
Eric Holscher 4546f12562 Merge pull request #591 from toffer/issue-293-single-version
Issue 293 single version
2013-12-21 15:10:04 -08:00
Eric Holscher f154a32bec Merge pull request #588 from Kami/include_status_code_on_failed_build
Display exit code on build details page for the failed builds
2013-12-21 15:09:14 -08:00
Eric Holscher 17d93e2b0a Well, that didn't work :) 2013-12-21 11:13:12 -05:00
Eric Holscher 5601abbe8b Update FAQ, though this will be a feature soon. 2013-12-21 11:09:09 -05:00
Eric Holscher eb33f92c1a Support dirhtml in the canonical snippet. 2013-12-21 11:01:20 -05:00
Eric Holscher 41b0243bfd Update theme 2013-12-21 08:31:34 -05:00
Tom Offermann 524ce40b05 Don't blow up if single_version field is missing. 2013-12-19 11:36:36 -08:00
Tom Offermann b478389728 Add logging to SingleVersionMiddleware. 2013-12-18 16:26:58 -08:00
Tom Offermann 37d32c33d3 Refactor SingleVersionMiddleware. 2013-12-18 16:26:58 -08:00
Tom Offermann d15518b4b9 Handle single_version docs for subdomains & CNAMEs. 2013-12-18 16:26:58 -08:00
Tom Offermann 18978fd22c Add tests for SingleVersionMiddleware.
* Test '/docs/<project>' URLs only.
* Add "catchall" URL pattern so that CommonMiddleware doesn't
  append slash to valid single_version URLs like '/docs/pip/usage.html'.
* Revise tests that 404 directly now, rather than redirect and
  then 404.
2013-12-18 16:26:58 -08:00
Tom Offermann 531d1c211c Handle single_version docs for '/docs/' URLs.
* Add SingleVersionMiddleware(), which handles '/docs/<project>/...' URLs.
* Add serve_single_version_docs() view function.
* Add new urlconf (single_version_urls.py)
* Doesn't yet handle subdomain URLs.
2013-12-18 16:26:58 -08:00
Tom Offermann d8be667bf1 Add south migration for single_version field. 2013-12-18 16:26:58 -08:00
Tom Offermann 85de6253a8 Add single_version field to projects.models. 2013-12-18 16:26:58 -08:00
Tomaz Muraus c0fb658d61 Display exit code next to a failed build. 2013-12-18 21:25:38 +01:00
Tomaz Muraus d788381720 Store exit code of each build. 2013-12-18 21:25:38 +01:00
Tomaz Muraus 892fe51ae7 Add exit_code field to the Build model. Also add corresponding south migration. 2013-12-18 21:25:05 +01:00
Eric Holscher 5e56cf3e5f Merge pull request #575 from DanielOaks/site_root_realpathfix
Fix an issue on some systems where SITE_ROOT was set incorrectly
2013-12-18 09:19:19 -08:00
Eric Holscher ce3d6c10aa Merge pull request #577 from toffer/fix-middleware-tests
Fix middleware tests
2013-12-18 09:19:01 -08:00
Eric Holscher 22b2f01ea5 Merge pull request #574 from DanielOaks/sphinx_rtd_theme_note
Added note about the sphinx_rtd_style, building locally and on RtD
2013-12-18 09:18:34 -08:00