Commit Graph

3214 Commits (df48c59b616a8e95f71af490d7fb515ba42f4696)

Author SHA1 Message Date
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 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
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
Eric Holscher 5b7638d0eb Merge pull request #586 from whit537/patch-10
Prune "Updating" from version control matrix
2013-12-18 09:17:50 -08:00
Chad Whitacre 5db5f22b92 Prune "Updating" from version control matrix
Per IRC w/ @ericholscher
2013-12-18 12:05:41 -05:00
Eric Holscher 591393f040 Merge pull request #584 from whit537/patch-8
Rewrite "Versions" section
2013-12-18 09:03:56 -08:00
Chad Whitacre 54e2b59361 Rewrite "Versions" section
This rewrite explains how to use the Versions feature from the user's point of view. I took out the overly apologetic verbiage about accepting patches (I think being open to patches goes without saying).

P.S. Is hard-wrapping okay? I'm editing TTW on GitHub over here ...
2013-12-18 12:02:48 -05:00
Eric Holscher d7f0d798a1 Merge pull request #583 from whit537/patch-7
Tweak page hierarchy
2013-12-18 08:48:49 -08:00
Chad Whitacre a7565e0a12 Tweak page hierarchy
Version control support matrix is a subhead under Versions, no?
2013-12-18 11:41:22 -05:00
Eric Holscher e546a8cb51 Rejigger index order 2013-12-16 17:54:46 -05:00
Eric Holscher 2682160ca8 Fix list 2013-12-16 17:46:26 -05:00
Eric Holscher 9e10279a6b Document SSL support on CNAMEs 2013-12-16 10:56:29 -05:00
Tom Offermann 7b5da3cb5a Fix typo in test_middleware filename. 2013-12-12 21:04:51 -08:00
Tom Offermann c7b80f02c2 Remove djangome middleware test.
Test is unnecessary since djangome functionality has been removed.
2013-12-12 21:04:51 -08:00
Daniel Oaks b3fb23e010 Fix an issue on some systems where SITE_ROOT was set incorrectly 2013-12-13 08:52:53 +10:00
Daniel Oaks 40df5c56df Added style note 2013-12-13 07:51:42 +10:00
Eric Holscher 4ca2aba85e Merge pull request #572 from gliptak/patch-1
Correct link to pip requirements
2013-12-11 18:56:19 -08:00
gliptak 6e12e79d50 Correct link to pip requirements 2013-12-11 20:45:51 -05:00
Eric Holscher 986c6972fd Merge pull request #570 from toffer/remove-middleware-rtfd-redirect
Remove rtfd.org redirect in SubdomainMiddleware.
2013-12-11 15:29:48 -08:00
Tom Offermann e1bf9926e1 Remove rtfd.org redirect in SubdomainMiddleware.
Since nginx now handles all rtfd.org redirects, this redirect
logic is no longer needed in middleware.
2013-12-11 15:18:08 -08:00
Eric Holscher a96057b03b Redirect rtfd.org to readthedocs.org always 2013-12-11 17:35:02 -05:00