Skip to content

Commit

Permalink
Move repo to jupyterhub org (#9)
Browse files Browse the repository at this point in the history
- Use readthedocs instead of doctr for documentation
- Update links

[ ci skip]
  • Loading branch information
jcrist committed Jul 16, 2019
1 parent 97f32e3 commit 9ad2351
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 53 deletions.
10 changes: 10 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2

sphinx:
configuration: docs/source/conf.py

python:
version: 3.7
install:
- method: pip
path: .
41 changes: 3 additions & 38 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
language: python
dist: trusty
os: linux
python:
- "3.6"
Expand All @@ -11,48 +10,14 @@ branches:
only:
- master

env:
global:
- secure: "BLR8usCFiXmSj12eRtubnpkmJKuDRDropT5GlwyT9EvAcGhSZCXjEpIrW3Z5skOQUz6GhODygzBEmR+0Q6jdCiWaILzOQsKBdQXZYxWxIm6YFbnFq5neucqqfLh3U50SXEsTn3D8ubcr4N9sAmZ8W1H1807Op/nYOwkckNZt/FQuAzVfavXRlh5Q6JmrG9oXXgatdFCNYo0bPWEkaArGbqw571gx47+nh6MKVlCz3Lv6pm63hlyd5hPziuqn1TcFK6PwBQ32Z8NcvRtAhFgodXf+PaX2igRwrp38VCrYd3zNXcZ3n6v9WYNCqkn3Ed5rwgY2yoqhtCH4q5TH81p4pag8fRhoZyrhiZ+BTt5JCY8aIB4Gb/SQ+H7PH6CPxMRXIhRLaUxJP6BV3UqyaO0FpslQqgnll+5w40jLZwOD0I5TXFwboNAcYa6lcMn2wrCLbP8i4R3+XBP7tIEkaTVRJYpDdlIhP/3r5/mIMVIqTzj+t7bOz4+NS1nV2HbTq5fTup4Wh+2U0aAdM81RP21ti7Pl6gkpy3TBTvOWBpODCRk1rK6Ei/Pbb3IW7pbEVEynJ70GOdFy/oqvHoBItACVhygkhbTyU6c+YJxv1U5OPOrTeWxo2eWNcrdQq3lExVVUMyTRr917oAjRYzwq77CPfv874D3/VA92lvvELlcyExU="

jobs:
fast_finish: true

include:
- if: commit_message !~ skip-tests
- env:
- DOCS=true

before_install:
- |
if [[ "$DOCS" != "true" ]]; then
./continuous_integration/before_install.sh
fi
- ./continuous_integration/before_install.sh

install:
- |
if [[ "$DOCS" != "true" ]]; then
docker exec -it kerberosauthenticator-testing ./working/continuous_integration/install.sh
else
pip install jupyterhub pykerberos sphinx doctr
pip install -e .
fi
- docker exec -it kerberosauthenticator-testing ./working/continuous_integration/install.sh

script:
- |
if [[ "$DOCS" != "true" ]]; then
docker exec -it kerberosauthenticator-testing ./working/continuous_integration/script.sh
else
set -xe
pushd docs
make html
popd
# Maybe deploy documentation
if [[ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_EVENT_TYPE" == "push" ]]; then
doctr deploy . --built-docs docs/build/html/
fi
fi
- docker exec -it kerberosauthenticator-testing ./working/continuous_integration/script.sh

notifications:
email: false
10 changes: 5 additions & 5 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@ kerberosauthenticator

|travis| |pypi|

A JupyterHub Authenticator_ using Kerberos. See the documentation_ for more
A JupyterHub Authenticator_ using Kerberos. See `the documentation`_ for more
information.

LICENSE
-------

New BSD. See the `License File`_.

.. |travis| image:: https://travis-ci.org/jcrist/kerberosauthenticator.svg?branch=master
:target: https://travis-ci.org/jcrist/kerberosauthenticator
.. |travis| image:: https://travis-ci.org/jupyterhub/kerberosauthenticator.svg?branch=master
:target: https://travis-ci.org/jupyterhub/kerberosauthenticator
.. |pypi| image:: https://img.shields.io/pypi/v/jupyterhub-kerberosauthenticator.svg
:target: https://pypi.org/project/jupyterhub-kerberosauthenticator/

.. _Authenticator: https://jupyterhub.readthedocs.io/en/stable/reference/authenticators.html
.. _License File: https://github.com/jcrist/kerberosauthenticator/blob/master/LICENSE
.. _documentation: https://jcrist.github.io/kerberosauthenticator/
.. _License File: https://github.com/jupyterhub/kerberosauthenticator/blob/master/LICENSE
.. _the documentation: https://jupyterhub-kerberosauthenticator.readthedocs.io
2 changes: 1 addition & 1 deletion docs/source/_templates/help.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<h3>Need help?</h3>

<p>
Open an issue in the <a href="https://github.com/jcrist/kerberosauthenticator/issues">issue tracker</a>.
Open an issue in the <a href="https://github.com/jupyterhub/kerberosauthenticator/issues">issue tracker</a>.
</p>
6 changes: 3 additions & 3 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
numpydoc_show_class_members = False

extlinks = {
'issue': ('https://github.com/jcrist/kerberosauthenticator/issues/%s', 'Issue #'),
'pr': ('https://github.com/jcrist/kerberosauthenticator/pull/%s', 'PR #')
'issue': ('https://github.com/jupyterhub/kerberosauthenticator/issues/%s', 'Issue #'),
'pr': ('https://github.com/jupyterhub/kerberosauthenticator/pull/%s', 'PR #')
}

# Sphinx Theme
Expand All @@ -40,7 +40,7 @@
'description': 'A JupyterHub Authenticator using Kerberos',
'github_button': True,
'github_count': False,
'github_user': 'jcrist',
'github_user': 'jupyterhub',
'github_repo': 'kerberosauthenticator',
'travis_button': True,
'show_powered_by': False,
Expand Down
2 changes: 1 addition & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ the JupyterHub server.

.. code::
pip install git+https://github.com/jcrist/kerberosauthenticator.git
pip install git+https://github.com/jupyterhub/kerberosauthenticator.git
Configuration
Expand Down
1 change: 0 additions & 1 deletion github_deploy_key_jcrist_kerberosauthenticator.enc

This file was deleted.

2 changes: 1 addition & 1 deletion kerberosauthenticator/templates/kerberos_login_error.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</p>
<p>
For more information, please see <a
href=https://jcrist.github.io/kerberosauthenticator/>the
href=https://jupyterhub-kerberosauthenticator.readthedocs.io>the
documentation</a>.
</p>
<p>
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
maintainer_email='jiminy.crist@gmail.com',
description='A JupyterHub authenticator using Kerberos',
long_description=long_description,
url='http://github.com/jcrist/kerberosauthenticator',
url='http://github.com/jupyterhub/kerberosauthenticator',
project_urls={
'Source': 'https://github.com/jcrist/kerberosauthenticator',
'Issue Tracker': 'https://github.com/jcrist/kerberosauthenticator/issues'
'Source': 'https://github.com/jupyterhub/kerberosauthenticator',
'Issue Tracker': 'https://github.com/jupyterhub/kerberosauthenticator/issues'
},
keywords='jupyter contentsmanager HDFS Hadoop',
classifiers=[
Expand Down

0 comments on commit 9ad2351

Please sign in to comment.