Skip to content

Commit

Permalink
DOC: Switch to https where used
Browse files Browse the repository at this point in the history
Switch links to https
  • Loading branch information
bashtage committed Aug 23, 2018
1 parent 66fc298 commit 5615801
Show file tree
Hide file tree
Showing 48 changed files with 108 additions and 106 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ notifications:

# Setup anaconda
before_install:
- wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b -p /home/travis/miniconda
- export PATH=/home/travis/miniconda/bin:$PATH
Expand Down
2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Release Notes
=============

The list of changes for each statsmodels release can be found [here](http://www.statsmodels.org/devel/release/index.html). Full details are available in the [commit logs](https://github.com/statsmodels/statsmodels).
The list of changes for each statsmodels release can be found [here](https://www.statsmodels.org/devel/release/index.html). Full details are available in the [commit logs](https://github.com/statsmodels/statsmodels).
8 changes: 4 additions & 4 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ Making Changes to the Code
For a pull request to be accepted, you must meet the below requirements. This greatly helps in keeping the job of maintaining and releasing the software a shared effort.

- **One branch. One feature.** Branches are cheap and github makes it easy to merge and delete branches with a few clicks. Avoid the temptation to lump in a bunch of unrelated changes when working on a feature, if possible. This helps us keep track of what has changed when preparing a release.
- Commit messages should be clear and concise. This means a subject line of less than 80 characters, and, if necessary, a blank line followed by a commit message body. We have an `informal commit format standard <http://www.statsmodels.org/devel/dev/maintainer_notes.html#commit-comments>`_ that we try to adhere to. You can see what this looks like in practice by ``git log --oneline -n 10``. If your commit references or closes a specific issue, you can close it by mentioning it in the `commit message <https://help.github.com/articles/closing-issues-via-commit-messages>`_. (*For maintainers*: These suggestions go for Merge commit comments too. These are partially the record for release notes.)
- Code submissions must always include tests. See our `notes on testing <http://www.statsmodels.org/devel/dev/test_notes.html>`_.
- Commit messages should be clear and concise. This means a subject line of less than 80 characters, and, if necessary, a blank line followed by a commit message body. We have an `informal commit format standard <https://www.statsmodels.org/devel/dev/maintainer_notes.html#commit-comments>`_ that we try to adhere to. You can see what this looks like in practice by ``git log --oneline -n 10``. If your commit references or closes a specific issue, you can close it by mentioning it in the `commit message <https://help.github.com/articles/closing-issues-via-commit-messages>`_. (*For maintainers*: These suggestions go for Merge commit comments too. These are partially the record for release notes.)
- Code submissions must always include tests. See our `notes on testing <https://www.statsmodels.org/devel/dev/test_notes.html>`_.
- Each function, class, method, and attribute needs to be documented using docstrings. We conform to the `numpy docstring standard <https://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt#docstring-standard>`_.
- If you are adding new functionality, you need to add it to the documentation by editing (or creating) the appropriate file in ``docs/source``.
- Make sure your documentation changes parse correctly. Change into the top-level ``docs/`` directory and type::
Expand All @@ -41,7 +41,7 @@ So you want to submit a patch to `statsmodels` but aren't too familiar with gith
2. `Create a new feature branch <http://git-scm.com/book/en/Git-Branching-Basic-Branching-and-Merging>`_. Each branch must be self-contained, with a single new feature or bugfix.
3. Make sure the test suite passes. This includes testing on Python 3. The easiest way to do this is to either enable `Travis-CI <https://travis-ci.org/>`_ on your fork, or to make a pull request and check there.
4. Document your changes by editing the appropriate file in ``docs/source/``. If it is a big, new feature add a note and an example to the latest ``docs/source/release/versionX.X.rst`` file. See older versions for examples. If it's a minor change, it will be included automatically in our relase notes.
5. Add an example. If it is a big, new feature please submit an example notebook by following `these instructions <http://www.statsmodels.org/devel/dev/examples.html>`_.
5. Add an example. If it is a big, new feature please submit an example notebook by following `these instructions <https://www.statsmodels.org/devel/dev/examples.html>`_.
6. `Submit a pull request <https://help.github.com/articles/using-pull-requests>`_

Mailing List
Expand All @@ -52,7 +52,7 @@ Conversations about development take place on the `statsmodels mailing list <htt
Learn More
~~~~~~~~~~

The ``statsmodels`` documentation's `developer page <http://www.statsmodels.org/stable/dev/index.html>`_
The ``statsmodels`` documentation's `developer page <https://www.statsmodels.org/stable/dev/index.html>`_
offers much more detailed information about the process.

License
Expand Down
4 changes: 2 additions & 2 deletions INSTALL.txt
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ You will need a C compiler installed.
Installing from Source on Windows
---------------------------------

See http://www.statsmodels.org/devel/install.html#windows.
See https://www.statsmodels.org/devel/install.html#windows.


Documentation
Expand All @@ -120,4 +120,4 @@ Documentation
You may find more information about the project and installation in our
documentation

http://www.statsmodels.org/devel/install.html
https://www.statsmodels.org/devel/install.html
14 changes: 7 additions & 7 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@ Documentation

The documentation for the latest release is at

http://www.statsmodels.org/stable/
https://www.statsmodels.org/stable/

The documentation for the development version is at

http://www.statsmodels.org/dev/
https://www.statsmodels.org/dev/

Recent improvements are highlighted in the release notes

http://www.statsmodels.org/stable/release/version0.9.html
https://www.statsmodels.org/stable/release/version0.9.html

Backups of documentation are available at http://statsmodels.github.io/stable/
and http://statsmodels.github.io/dev/.
Backups of documentation are available at https://statsmodels.github.io/stable/
and https://statsmodels.github.io/dev/.



Expand Down Expand Up @@ -125,7 +125,7 @@ https://github.com/statsmodels/statsmodels/tags

Binaries and source distributions are available from PyPi

http://pypi.python.org/pypi/statsmodels/
https://pypi.org/project/statsmodels/

Binaries can be installed in Anaconda

Expand All @@ -137,7 +137,7 @@ Installing from sources

See INSTALL.txt for requirements or see the documentation

http://statsmodels.github.io/dev/install.html
https://statsmodels.github.io/dev/install.html

License
=======
Expand Down
2 changes: 1 addition & 1 deletion docs/source/about.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ development of statsmodels:

We would also like to thank our hosting providers, `github
<https://github.com/>`_ for the public code repository, `github.io
<http://www.statsmodels.org/stable/index.html>`_ for hosting our documentation and `python.org
<https://www.statsmodels.org/stable/index.html>`_ for hosting our documentation and `python.org
<https://www.python.org/>`_ for making our downloads available on PyPi.

We also thank our continuous integration providers,
Expand Down
12 changes: 6 additions & 6 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,12 +301,12 @@

# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {
'numpy' : ('https://docs.scipy.org/doc/numpy/', None),
'python' : ('https://docs.python.org/3.2', None),
'pydagogue' : ('http://matthew-brett.github.io/pydagogue/', None),
'patsy' : ('http://patsy.readthedocs.io/en/latest/', None),
'pandas' : ('http://pandas.pydata.org/pandas-docs/stable/', None),
}
'numpy': ('https://docs.scipy.org/doc/numpy/', None),
'python': ('https://docs.python.org/3/', None),
'pydagogue': ('https://matthew-brett.github.io/pydagogue/', None),
'patsy': ('https://patsy.readthedocs.io/en/latest/', None),
'pandas': ('https://pandas.pydata.org/pandas-docs/stable/', None),
}

from os.path import dirname, abspath, join
plot_basedir = join(dirname(dirname(os.path.abspath(__file__))), 'source')
Expand Down
2 changes: 1 addition & 1 deletion docs/source/datasets/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Using Datasets from Stata
Using Datasets from R
---------------------

The `Rdatasets project <http://vincentarelbundock.github.io/Rdatasets/>`__ gives access to the datasets available in R's core datasets package and many other common R packages. All of these datasets are available to statsmodels by using the :func:`get_rdataset` function. The actual data is accessible by the ``data`` attribute. For example:
The `Rdatasets project <https://vincentarelbundock.github.io/Rdatasets/>`__ gives access to the datasets available in R's core datasets package and many other common R packages. All of these datasets are available to statsmodels by using the :func:`get_rdataset` function. The actual data is accessible by the ``data`` attribute. For example:

.. ipython:: python
Expand Down
2 changes: 1 addition & 1 deletion docs/source/dev/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Examples are best contributed as IPython notebooks. Save your notebook with all
The Example Gallery
~~~~~~~~~~~~~~~~~~~

We have a gallery of example notebooks available `here <http://www.statsmodels.org/devel/examples/index.html>`_. If you would like your example to show up in this gallery, add a link to the notebook in ``docs/source/examples/landing.json``. For the thumbnail, take a screenshot of what you think is the best "hook" for the notebook. The image will be displayed at 360 x 225 (W x H). It's best to save the image as a PNG with a resolution that is some multiple of 360 x 225 (720 x 450 is preferred).
We have a gallery of example notebooks available `here <https://www.statsmodels.org/devel/examples/index.html>`_. If you would like your example to show up in this gallery, add a link to the notebook in ``docs/source/examples/landing.json``. For the thumbnail, take a screenshot of what you think is the best "hook" for the notebook. The image will be displayed at 360 x 225 (W x H). It's best to save the image as a PNG with a resolution that is some multiple of 360 x 225 (720 x 450 is preferred).


Before submitting a PR
Expand Down
2 changes: 1 addition & 1 deletion docs/source/dev/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Making Changes to the Code
For a pull request to be accepted, you must meet the below requirements. This greatly helps the job of maintaining and releasing the software a shared effort.

- **One branch. One feature.** Branches are cheap and github makes it easy to merge and delete branches with a few clicks. Avoid the temptation to lump in a bunch of unrelated changes when working on a feature, if possible. This helps us keep track of what has changed when preparing a release.
- Commit messages should be clear and concise. This means a subject line of less than 80 characters, and, if necessary, a blank line followed by a commit message body. We have an `informal commit format standard <http://www.statsmodels.org/devel/dev/maintainer_notes.html#commit-comments>`_ that we try to adhere to. You can see what this looks like in practice by ``git log --oneline -n 10``. If your commit references or closes a specific issue, you can close it by mentioning it in the `commit message <https://help.github.com/articles/closing-issues-via-commit-messages/>`_. (*For maintainers*: These suggestions go for Merge commit comments too. These are partially the record for release notes.)
- Commit messages should be clear and concise. This means a subject line of less than 80 characters, and, if necessary, a blank line followed by a commit message body. We have an `informal commit format standard <https://www.statsmodels.org/devel/dev/maintainer_notes.html#commit-comments>`_ that we try to adhere to. You can see what this looks like in practice by ``git log --oneline -n 10``. If your commit references or closes a specific issue, you can close it by mentioning it in the `commit message <https://help.github.com/articles/closing-issues-via-commit-messages/>`_. (*For maintainers*: These suggestions go for Merge commit comments too. These are partially the record for release notes.)
- Code submissions must always include tests. See our notes on :ref:`testing`.
- Each function, class, method, and attribute needs to be documented using docstrings. We conform to the `numpy docstring standard <https://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt#docstring-standard>`_.
- If you are adding new functionality, you need to add it to the documentation by editing (or creating) the appropriate file in ``docs/source``.
Expand Down
2 changes: 1 addition & 1 deletion docs/source/dev/maintainer_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -189,4 +189,4 @@ Prefix commit messages in the master branch of the main shared repository with t
.. vbench
.. ------
..
.. See :ref:`vbenchdoc` notes for working with the `statsmodels vbench suite <http://www.statsmodels.org/vbench>`_. The github repository is available `here <https://github.com/statsmodels/vbench>`_.
.. See :ref:`vbenchdoc` notes for working with the `statsmodels vbench suite <https://www.statsmodels.org/vbench>`_. The github repository is available `here <https://github.com/statsmodels/vbench>`_.
2 changes: 1 addition & 1 deletion docs/source/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ How does statsmodels handle missing data?

Missing data can be handled via the ``missing`` keyword argument. Every model takes this keyword. You can find more information in the docstring of :class:`statsmodels.base.Model <base.model.Model>`.

.. `Model class <http://www.statsmodels.org/devel/dev/generated/statsmodels.base.model.Model.html#statsmodels.base.model.Model>`_.
.. `Model class <https://www.statsmodels.org/devel/dev/generated/statsmodels.base.model.Model.html#statsmodels.base.model.Model>`_.
.. _build-faq:

Expand Down
4 changes: 2 additions & 2 deletions docs/source/gettingstarted.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ Data
----

We download the `Guerry dataset
<http://vincentarelbundock.github.io/Rdatasets/doc/HistData/Guerry.html>`_, a
<https://raw.githubusercontent.com/vincentarelbundock/Rdatasets/doc/HistData/Guerry.html>`_, a
collection of historical data used in support of Andre-Michel Guerry's 1833
*Essay on the Moral Statistics of France*. The data set is hosted online in
comma-separated values format (CSV) by the `Rdatasets
<http://vincentarelbundock.github.io/Rdatasets/>`_ repository.
<https://github.com/vincentarelbundock/Rdatasets/>`_ repository.
We could download the file locally and then load it using ``read_csv``, but
``pandas`` takes care of all of this automatically for us:

Expand Down
2 changes: 1 addition & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ of many different statistical models, as well as for conducting statistical test
data exploration. An extensive list of result statistics are available for each estimator.
The results are tested against existing statistical packages to ensure that they are correct. The
package is released under the open source Modified BSD (3-clause) license.
The online documentation is hosted at `statsmodels.org <http://www.statsmodels.org/>`__.
The online documentation is hosted at `statsmodels.org <https://www.statsmodels.org/>`__.


Minimal Examples
Expand Down
6 changes: 3 additions & 3 deletions docs/source/release/version0.5.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Alternatively, each model in the usual ``statsmodels.api`` namespace has a ``fro
import pandas as pd
import statsmodels.formula.api as smf
url = 'http://vincentarelbundock.github.io/Rdatasets/csv/HistData/Guerry.csv'
url = 'https://raw.githubusercontent.com/vincentarelbundock/Rdatasets/csv/HistData/Guerry.csv'
data = pd.read_csv(url)
# Fit regression model (using the natural log of one of the regressors)
Expand Down Expand Up @@ -108,15 +108,15 @@ The power module (``statsmodel.stats.power``) currently implements power and sam

Other important new features
----------------------------
* **IPython notebook examples**: Many of our examples have been converted or added as IPython notebooks now. They are available `here <http://www.statsmodels.org/devel/examples/index.html#notebook-examples>`_.
* **IPython notebook examples**: Many of our examples have been converted or added as IPython notebooks now. They are available `here <https://www.statsmodels.org/devel/examples/index.html#notebook-examples>`_.

* **Improved marginal effects for discrete choice models**: Expanded options for obtaining marginal effects after the estimation of nonlinear discrete choice models are available. See :py:meth:`get_margeff <statsmodels.discrete.discrete_model.DiscreteResuls.get_margeff>`.

* **OLS influence outlier measures**: After the estimation of a model with OLS, the common set of influence and outlier measures and a outlier test are now available attached as methods ``get_influnce`` and ``outlier_test`` to the Results instance. See :py:class:`OLSInfluence <statsmodels.stats.outliers_influence.OLSInfluence>` and :func:`outlier_test <statsmodels.stats.outliers_influence.outlier_test>`.

* **New datasets**: New :ref:`datasets <datasets>` are available for examples.

* **Access to R datasets**: We now have access to many of the same datasets available to R users through the `Rdatasets project <http://vincentarelbundock.github.io/Rdatasets/>`_. You can access these using the :func:`sm.datasets.get_rdataset <statsmodels.datasets.get_rdataset>` function. This function also includes caching of these datasets.
* **Access to R datasets**: We now have access to many of the same datasets available to R users through the `Rdatasets project <https://vincentarelbundock.github.io/Rdatasets/>`_. You can access these using the :func:`sm.datasets.get_rdataset <statsmodels.datasets.get_rdataset>` function. This function also includes caching of these datasets.

* **Improved numerical differentiation tools**: Numerical differentiation routines have been greatly improved and expanded to cover all the routines discussed in::

Expand Down
4 changes: 2 additions & 2 deletions docs/source/release/version0.8.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ recent numpy and pandas releases.

Statsmodels is using now github to store the updated documentation which
is available under
http://www.statsmodels.org/stable for the last release, and
http://www.statsmodels.org/devel/ for the development version.
https://www.statsmodels.org/stable for the last release, and
https://www.statsmodels.org/devel/ for the development version.

This is the last release that supports Python 2.6.

Expand Down
4 changes: 2 additions & 2 deletions docs/source/release/version0.9.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ Release summary

Statsmodels is using github to store the updated documentation which
is available under
http://www.statsmodels.org/stable for the last release, and
http://www.statsmodels.org/devel/ for the development version.
https://www.statsmodels.org/stable for the last release, and
https://www.statsmodels.org/devel/ for the development version.


**Warning**
Expand Down
4 changes: 2 additions & 2 deletions docs/themes/statsmodels/indexsidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ <h3>Download</h3>
{% if 'dev' in version %}

<p>This documentation is for version <b>{{ version }}</b>, which is not
released yet. Grab the source code from <a href="https://github.com/statsmodels/statsmodels/">Github</a> to install this version. You can go to the documentation for the last release <a href="http://www.statsmodels.org">here</a>.</p>
released yet. Grab the source code from <a href="https://github.com/statsmodels/statsmodels/">Github</a> to install this version. You can go to the documentation for the last release <a href="https://www.statsmodels.org">here</a>.</p>

{% else %}

Expand All @@ -14,7 +14,7 @@ <h3>Download</h3>
or conda:

<pre style="margin:0px 1px">conda install statsmodels</pre>
Documentation for the current development version is <a href="http://www.statsmodels.org/devel/">here</a>.</p>
Documentation for the current development version is <a href="https://www.statsmodels.org/devel/">here</a>.</p>

{% endif %}

Expand Down
2 changes: 1 addition & 1 deletion examples/notebooks/chi2_fitting.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"To fit a straight line use the weighted least squares class [WLS](http://www.statsmodels.org/devel/generated/statsmodels.regression.linear_model.WLS.html) ... the parameters are called:\n",
"To fit a straight line use the weighted least squares class [WLS](https://www.statsmodels.org/devel/generated/statsmodels.regression.linear_model.WLS.html) ... the parameters are called:\n",
"* `exog` = `sm.add_constant(x)`\n",
"* `endog` = `y`\n",
"* `weights` = `1 / sqrt(y_err)`\n",
Expand Down
Loading

0 comments on commit 5615801

Please sign in to comment.