Skip to content

Commit

Permalink
Replace readthedocs references
Browse files Browse the repository at this point in the history
  • Loading branch information
amol- committed Jun 1, 2016
1 parent 73859ce commit 894f404
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
8 changes: 4 additions & 4 deletions apache.conf
Expand Up @@ -5,12 +5,12 @@
ServerAlias turbogears.org

DocumentRoot /home/turbogearsorg/tgsite
RedirectPermanent /2.2/docs https://turbogears.readthedocs.org/en/rtfd2.2.2/
RedirectPermanent /2.2/docs https://turbogears.readthedocs.io/en/rtfd2.2.2/

RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} (googlebot|adsbot-google|bingbot|msnbot|psbot|gigabot|twitterbot|linkedinbot|yahoo-mmcrawler|pingdom\.com_bot) [NC]
RewriteRule ^/2.1/docs http://turbogears.readthedocs.org [L,R=301]
RewriteRule ^/2.0/docs http://turbogears.readthedocs.org [L,R=301]
RewriteRule ^/2.1/docs http://turbogears.readthedocs.io [L,R=301]
RewriteRule ^/2.0/docs http://turbogears.readthedocs.io [L,R=301]

<Directory />
Options FollowSymLinks
Expand Down Expand Up @@ -44,7 +44,7 @@
ServerName docs.turbogears.org
RedirectMatch permanent ^/(\d\.\d)/?$ http://www.turbogears.org/$1/docs/
RedirectMatch permanent ^/(\d\.\d)/(?:docs/)?(.+)(?:\.html)?(#.*)?(\?.*)?$ http://www.turbogears.org/$1/docs/$2.html$3$4
RedirectPermanent / http://turbogears.readthedocs.org/en/latest/
RedirectPermanent / http://turbogears.readthedocs.io/en/latest/
</VirtualHost>
<VirtualHost *:80>
ServerName download.turbogears.org
Expand Down
8 changes: 4 additions & 4 deletions src/documentation.rst
Expand Up @@ -23,12 +23,12 @@ As such, we also have several older versions of the documentation.

.. |tgdocs| image:: _static/images/extending.png
.. |tutorials| image:: _static/images/tutorials.png
.. _`TurboGears Documentation`: http://turbogears.readthedocs.org/
.. _`Installation`: http://turbogears.readthedocs.org/en/latest/turbogears/install.html
.. _`TurboGears Documentation`: http://turbogears.readthedocs.io/
.. _`Installation`: http://turbogears.readthedocs.io/en/latest/turbogears/install.html
.. _`CheatSheet`: http://unstable.tg.gy/EP2012/Cheatsheet.pdf
.. _`Poster`: http://unstable.tg.gy/EP2012/Poster.pdf
.. _`2.2 Documentation`: https://turbogears.readthedocs.org/en/rtfd2.2.2/
.. _`2.2 Installation`: http://turbogears.readthedocs.org/en/rtfd2.2.2/main/DownloadInstall.html
.. _`2.2 Documentation`: https://turbogears.readthedocs.io/en/rtfd2.2.2/
.. _`2.2 Installation`: http://turbogears.readthedocs.io/en/rtfd2.2.2/main/DownloadInstall.html
.. _`2.1 Documentation`: http://www.turbogears.org/2.1/docs/
.. _`2.1 Installation`: http://www.turbogears.org/2.1/docs/main/DownloadInstall.html
.. _`2.0 Documentation`: http://www.turbogears.org/2.0/docs/
Expand Down
14 changes: 7 additions & 7 deletions src/index.rst
Expand Up @@ -68,17 +68,17 @@ Get started Learning TurboGears 2 by looking at `Documentation`_ and our famous
.. _`Overview`: welcome/overview.html
.. _`Presentations`: welcome/presentations.html
.. _`The TurboGears Way`: welcome/turbogears-way.html
.. _`Documentation`: http://turbogears.readthedocs.org/en/latest/
.. _`microframework`: http://turbogears.readthedocs.org/en/latest/index.html#single-file-application
.. _`fullstack`: http://turbogears.readthedocs.org/en/latest/index.html#full-stack-projects
.. _`as natural as writing a function`: http://turbogears.readthedocs.org/en/latest/turbogears/wiki20.html#controller-code
.. _`Documentation`: http://turbogears.readthedocs.io/en/latest/
.. _`microframework`: http://turbogears.readthedocs.io/en/latest/index.html#single-file-application
.. _`fullstack`: http://turbogears.readthedocs.io/en/latest/index.html#full-stack-projects
.. _`as natural as writing a function`: http://turbogears.readthedocs.io/en/latest/turbogears/wiki20.html#controller-code
.. _`Designer friendly template system`: http://genshi.edgewall.org/
.. _`AJAX`: http://en.wikipedia.org/wiki/AJAX
.. _`Pluggable Applications`: http://turbogears.readthedocs.org/en/latest/turbogears/Pluggable/index.html
.. _`Pluggable Applications`: http://turbogears.readthedocs.io/en/latest/turbogears/Pluggable/index.html
.. _`widget system`: http://www.toscawidgets.org/
.. _`multi-database support`: http://turbogears.readthedocs.org/en/latest/cookbook/master-slave.html
.. _`multi-database support`: http://turbogears.readthedocs.io/en/latest/cookbook/master-slave.html
.. _`Object Relational Mapper (ORM)`: http://www.sqlalchemy.org/
.. _`wiki tutorial`: http://turbogears.readthedocs.org/en/latest/turbogears/wiki20.html
.. _`wiki tutorial`: http://turbogears.readthedocs.io/en/latest/turbogears/wiki20.html
.. _`Google+`: https://plus.google.com/115723575598932631951
.. _`Runnable`: http://runnable.com/Unq2c2CaTc52AAAm/basic-turbogears-example-for-python

Expand Down
2 changes: 1 addition & 1 deletion src/whos-using.rst
Expand Up @@ -38,7 +38,7 @@ As we've said above, this list is far from complete. As it stands, this is just
.. _Fedora Community: https://admin.fedoraproject.org/community/
.. _OrcaTec LLC: http://www.orcatec.com/
.. _PyF: http://pyfproject.org/
.. _ACR CMS: http://acrcms.readthedocs.org/
.. _ACR CMS: http://acrcms.readthedocs.io/
.. _Moksha: https://fedorahosted.org/moksha/
.. _1000 Corks: http://1000corks.com/
.. _The Voice of Turkey: http://www.osesturkiye.com/
Expand Down

0 comments on commit 894f404

Please sign in to comment.