Skip to content

Commit 6ad90aa

Browse files
authored
Merge pull request #319 from adrn/excise-rtd
Excise RTD
2 parents 9493ef2 + ad7e10d commit 6ad90aa

File tree

6 files changed

+12
-44
lines changed

6 files changed

+12
-44
lines changed

.rtd-environment.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ Contributing tutorial material
2929
------------------------------
3030

3131
Please see the "`For contributors
32-
<http://astropy-tutorials.readthedocs.io/en/latest/#for-contributors>`_" section
32+
<http://www.astropy.org/astropy-tutorials/#for-contributors>`_" section
3333
of the tutorials documentation for information on how to get started.
3434

3535

3636
Tutorial infrastructure
3737
-----------------------
3838

3939
For more information on the infrastructure that builds the tutorials, see the
40-
`infrastructure/developer <http://astropy-tutorials.readthedocs.io/en/latest/dev.html>`_
40+
`infrastructure/developer <http://www.astropy.org/astropy-tutorials/dev.html#dev-page>`_
4141
section of the tutorials documentation.

readthedocs.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

tutorials/dev.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ We use our own run-and-convert machinery using ``nbconvert``. We use the same
2222
script that converts the notebooks to RST to test the notebooks on travis by
2323
simply executing the notebooks and ignoring the output.
2424

25-
We use `readthedocs <http://rtfd.io>`_ to do the Sphinx build, which is what
26-
allows us to preserve the version history of the tutorials. The notebooks are
27-
first converted to RST files during the Sphinx build by doing the conversion
28-
at the end of the `Sphinx configuration file
25+
We use `CircleCI <https://circleci.com>`_ to do the Sphinx build, which is then
26+
pushed to the ``gh-pages`` branch of the repository and served by GitHub. The
27+
notebooks are first converted to RST files during the Sphinx build by doing the
28+
conversion at the end of the `Sphinx configuration file
2929
<https://github.com/astropy/astropy-tutorials/blob/master/tutorials/conf.py>`_.
3030

3131
Why not use nbsphinx?

tutorials/notebooks/User-Defined-Model/User-Defined-Model.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
" * Compound models\n",
1616
" * Custom models\n",
1717
"\n",
18-
"This tutorial assumes the student knows how to fit data using `astropy.modeling`. This topic is covered in the [Models-Quick-Fit tutorial](https://astropy-tutorials.readthedocs.io/en/latest/rst-tutorials/Models-Quick-Fit.html).\n",
18+
"This tutorial assumes the student knows how to fit data using `astropy.modeling`. This topic is covered in the [Models-Quick-Fit tutorial](http://www.astropy.org/astropy-tutorials/rst-tutorials/Models-Quick-Fit.html).\n",
1919
"\n",
2020
"## Keywords\n",
2121
"Modeling, User Defined Model, Custom Models, Compound Models \n",
@@ -207,7 +207,7 @@
207207
"\n",
208208
"Now, we would like to measure the height of this line. Let's use `astropy.modeling` to fit a gaussian to the $H\\alpha$ line. We are going to initialize a gaussian model at the position of the $H\\alpha$ line. The idea is that the gaussian amplitude will tell us the height of the line.\n",
209209
"\n",
210-
"We are going to go quickly over this part of the tutorial because it involves fitting with `astropy.modeling` and this was explained in the [Models-Quick-Fit tutorial](https://astropy-tutorials.readthedocs.io/en/latest/rst-tutorials/Models-Quick-Fit.html). "
210+
"We are going to go quickly over this part of the tutorial because it involves fitting with `astropy.modeling` and this was explained in the [Models-Quick-Fit tutorial](http://www.astropy.org/astropy-tutorials/rst-tutorials/Models-Quick-Fit.html). "
211211
]
212212
},
213213
{
@@ -856,7 +856,7 @@
856856
],
857857
"metadata": {
858858
"kernelspec": {
859-
"display_name": "Python 3",
859+
"display_name": "Python [default]",
860860
"language": "python",
861861
"name": "python3"
862862
},

tutorials/notebooks/units-and-integration/units-and-integration.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"\n",
2525
"## Companion Content\n",
2626
"* http://synphot.readthedocs.io/en/latest/\n",
27-
"* [Using Astropy Quantities for astrophysical calculations](http://astropy-tutorials.readthedocs.io/en/latest/rst-tutorials/quantities.html)\n",
27+
"* [Using Astropy Quantities for astrophysical calculations](http://www.astropy.org/astropy-tutorials/rst-tutorials/quantities.html)\n",
2828
"\n",
2929
"## Summary\n",
3030
"In this tutorial, we will use the examples of the Planck function and the stellar initial mass function (IMF) to illustrate how to integrate numerically, using the trapezoidal approximation and Gaussian quadrature. We will also explore making a custom class, an instance of which is callable in the same way as a function. In addition, we will encounter `astropy`'s built-in units, and get a first taste of how to convert between them. Finally, we will use $\\LaTeX$ to make our figure axis labels easy to read."
@@ -337,7 +337,7 @@
337337
],
338338
"metadata": {
339339
"kernelspec": {
340-
"display_name": "Python 3",
340+
"display_name": "Python [default]",
341341
"language": "python",
342342
"name": "python3"
343343
},
@@ -351,7 +351,7 @@
351351
"name": "python",
352352
"nbconvert_exporter": "python",
353353
"pygments_lexer": "ipython3",
354-
"version": "3.6.5"
354+
"version": "3.6.4"
355355
}
356356
},
357357
"nbformat": 4,

0 commit comments

Comments
 (0)