Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
fix docs links and CI
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesknap committed Mar 11, 2023
1 parent f7e587d commit abf991f
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12 deletions.
1 change: 1 addition & 0 deletions .github/workflows/code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
tox -e pre-commit,mypy
wheel:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
strategy:
fail-fast: false
matrix:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:

jobs:
docs:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
strategy:
fail-fast: false
matrix:
Expand All @@ -34,7 +35,7 @@ jobs:
# Can delete this if you don't use graphviz in your docs
run: sudo apt-get install graphviz

- name: checkout
- name: checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This is the internal code reference for gphotos_sync
.. data:: gphotos_sync.__version__
:type: str

Version number as calculated by https://github.com/gilesknap-org/versiongit
Version number as calculated by setuptools_scm

.. automodule:: gphotos_sync.Main
:members:
Expand Down
20 changes: 10 additions & 10 deletions docs/tutorials/oauth2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ For a discussion of the purpose of this ID see `Tokens`.
Each step here assumes that you're logged into a personal Google account.

.. note::
The steps outlined here are correct as of May 2022. Their is quite a
bit of churn in the Google Cloud Console UI so the screens may change a
bit.
The steps outlined here are correct as of May 2022. Their is quite a
bit of churn in the Google Cloud Console UI so the screens may change a
bit.


Create a Google Cloud Project
Expand All @@ -32,17 +32,17 @@ Create a Google Cloud Project
.. image:: oauth-images/0.png
:align: center
:scale: 100 %

#. In the top banner the currently selected project is shown. If you have
no previous projects this will say 'Select a project'

* Click on the current project name or 'Select a project'

* This will bring up the 'Select a Project' dialog

.. image:: oauth-images/1.png
:align: center
:scale: 100
:scale: 100

#. Press **New Project**.
#. Enter a project name. For example, "gphotos". This name must be unique
Expand Down Expand Up @@ -147,15 +147,15 @@ Create the OAuth Credentials
:align: center
:scale: 75

#. Choose Desktop App
#. Choose Desktop App
#. Choose name for your credentials e.g. gphotos
#. Click **Create**

.. image:: oauth-images/14-create_id.png
:align: center
:scale: 75

#. Click **Download JSON** to download the OAuth client ID as JSON and
#. Click **Download JSON** to download the OAuth client ID as JSON and
save it as ``client_secret.json``.

.. image:: oauth-images/15-created.png
Expand All @@ -181,13 +181,13 @@ found in the README_.

.. _`the Google Cloud docs`: https://developers.google.com/identity/protocols/oauth2#expiration
.. _`Issue #290`: https://github.com/gilesknap/gphotos-sync/issues/290
.. _README: https://github.com/gilesknap/gphotos-sync/README.rst
.. _README: https://github.com/gilesknap/gphotos-sync/blob/main/README.rst


Move client_secret.json
-----------------------

#. The client_secret.json must be moved to the correct location
#. Each supported operating system has a different location where it will
#. Each supported operating system has a different location where it will
look for this file.
#. Return the `Tutorial` for details of where to put this file.

0 comments on commit abf991f

Please sign in to comment.