Skip to content

Commit

Permalink
deploy: ae41736
Browse files Browse the repository at this point in the history
  • Loading branch information
krysal committed Jul 10, 2023
0 parents commit fa356c1
Show file tree
Hide file tree
Showing 14,527 changed files with 1,661,987 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
4 changes: 4 additions & 0 deletions .buildinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: b04b245800c5327c44239bba5c012d65
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file added .doctrees/api/guides/deploy.doctree
Binary file not shown.
Binary file added .doctrees/api/guides/https.doctree
Binary file not shown.
Binary file added .doctrees/api/guides/index.doctree
Binary file not shown.
Binary file added .doctrees/api/guides/quickstart.doctree
Binary file not shown.
Binary file added .doctrees/api/guides/test.doctree
Binary file not shown.
Binary file added .doctrees/api/index.doctree
Binary file not shown.
Binary file not shown.
Binary file added .doctrees/api/reference/index.doctree
Binary file not shown.
Binary file added .doctrees/api/reference/search_algorithm.doctree
Binary file not shown.
Binary file added .doctrees/automations/guides/index.doctree
Binary file not shown.
Binary file added .doctrees/automations/guides/quickstart.doctree
Binary file not shown.
Binary file added .doctrees/automations/index.doctree
Binary file not shown.
Binary file added .doctrees/automations/reference/index.doctree
Binary file not shown.
Binary file not shown.
Binary file added .doctrees/catalog/guides/deploy.doctree
Binary file not shown.
Binary file added .doctrees/catalog/guides/index.doctree
Binary file not shown.
Binary file added .doctrees/catalog/index.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .doctrees/changelogs/api/index.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .doctrees/changelogs/catalog/index.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .doctrees/changelogs/frontend/index.doctree
Binary file not shown.
Binary file added .doctrees/changelogs/index.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .doctrees/environment.pickle
Binary file not shown.
Binary file added .doctrees/frontend/guides/analytics.doctree
Binary file not shown.
Binary file added .doctrees/frontend/guides/deploy.doctree
Binary file not shown.
Binary file added .doctrees/frontend/guides/develop.doctree
Binary file not shown.
Binary file added .doctrees/frontend/guides/icons.doctree
Binary file not shown.
Binary file added .doctrees/frontend/guides/index.doctree
Binary file not shown.
Binary file added .doctrees/frontend/guides/quickstart.doctree
Binary file not shown.
Binary file added .doctrees/frontend/guides/test.doctree
Binary file not shown.
Binary file added .doctrees/frontend/index.doctree
Binary file not shown.
Binary file not shown.
Binary file added .doctrees/frontend/reference/index.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .doctrees/general/contributing.doctree
Binary file not shown.
Binary file added .doctrees/general/deployment.doctree
Binary file not shown.
Binary file added .doctrees/general/general_setup.doctree
Binary file not shown.
Binary file added .doctrees/general/https.doctree
Binary file not shown.
Binary file added .doctrees/general/index.doctree
Binary file not shown.
Binary file added .doctrees/general/logging.doctree
Binary file not shown.
Binary file added .doctrees/general/publish.doctree
Binary file not shown.
Binary file added .doctrees/general/quickstart.doctree
Binary file not shown.
Binary file added .doctrees/general/run.doctree
Binary file not shown.
Binary file added .doctrees/general/test.doctree
Binary file not shown.
Binary file not shown.
Binary file added .doctrees/index.doctree
Binary file not shown.
Binary file added .doctrees/ingestion_server/guides/config.doctree
Binary file not shown.
Binary file added .doctrees/ingestion_server/guides/deploy.doctree
Binary file not shown.
Binary file added .doctrees/ingestion_server/guides/index.doctree
Binary file not shown.
Binary file added .doctrees/ingestion_server/guides/mapping.doctree
Binary file not shown.
Binary file not shown.
Binary file added .doctrees/ingestion_server/guides/test.doctree
Binary file not shown.
Binary file added .doctrees/ingestion_server/index.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .doctrees/meta/ci_cd/actions.doctree
Binary file not shown.
Binary file added .doctrees/meta/ci_cd/artifacts.doctree
Binary file not shown.
Binary file added .doctrees/meta/ci_cd/flow.doctree
Binary file not shown.
Binary file added .doctrees/meta/ci_cd/index.doctree
Binary file not shown.
Binary file added .doctrees/meta/ci_cd/jobs/api.doctree
Binary file not shown.
Binary file added .doctrees/meta/ci_cd/jobs/catalog.doctree
Binary file not shown.
Binary file added .doctrees/meta/ci_cd/jobs/deployment.doctree
Binary file not shown.
Binary file added .doctrees/meta/ci_cd/jobs/docker.doctree
Binary file not shown.
Binary file not shown.
Binary file added .doctrees/meta/ci_cd/jobs/frontend.doctree
Binary file not shown.
Binary file added .doctrees/meta/ci_cd/jobs/index.doctree
Binary file not shown.
Binary file not shown.
Binary file added .doctrees/meta/ci_cd/jobs/notification.doctree
Binary file not shown.
Binary file added .doctrees/meta/ci_cd/jobs/packages.doctree
Binary file not shown.
Binary file added .doctrees/meta/ci_cd/jobs/preparation.doctree
Binary file not shown.
Binary file not shown.
Binary file added .doctrees/meta/communication_aliases.doctree
Binary file not shown.
Binary file not shown.
Binary file added .doctrees/meta/decision_making/how_to_use.doctree
Binary file not shown.
Binary file added .doctrees/meta/decision_making/index.doctree
Binary file not shown.
Binary file not shown.
Binary file added .doctrees/meta/dev_flow.doctree
Binary file not shown.
Binary file added .doctrees/meta/documentation/extensions.doctree
Binary file not shown.
Binary file added .doctrees/meta/documentation/guidelines.doctree
Binary file not shown.
Binary file added .doctrees/meta/documentation/index.doctree
Binary file not shown.
Binary file added .doctrees/meta/documentation/quickstart.doctree
Binary file not shown.
Binary file added .doctrees/meta/documentation/review.doctree
Binary file not shown.
Binary file not shown.
Binary file added .doctrees/meta/index.doctree
Binary file not shown.
Binary file added .doctrees/meta/maintainer_tasks.doctree
Binary file not shown.
Binary file not shown.
Binary file added .doctrees/meta/monitoring/index.doctree
Binary file not shown.
Binary file added .doctrees/meta/monitoring/traffic/index.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .doctrees/packages/eslint_plugin/index.doctree
Binary file not shown.
Binary file added .doctrees/packages/index.doctree
Binary file not shown.
Binary file added .doctrees/projects/index.doctree
Binary file not shown.
Binary file added .doctrees/projects/planning.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .doctrees/projects/templates/index.doctree
Binary file not shown.
Binary file not shown.
Binary file added .doctrees/terms_of_service.doctree
Binary file not shown.
Empty file added .nojekyll
Empty file.
557 changes: 557 additions & 0 deletions 404.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docs.openverse.org
50 changes: 50 additions & 0 deletions _downloads/7c06dc7fa79c7a8feb2fbe872ad1e362/link_usernames.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
"""GitHub Username Linking
Based on: https://www.sphinx-doc.org/en/master/extdev/appapi.html#event-source-read
and: https://stackoverflow.com/a/31924901/3277713 CC BY-SA 3.0 by C_Z_
This extension replaces username references of the form `@username` with a link
to the user's GitHub profile. In order to prevent adding references to existing
existing links (e.g. `[@username](...)`, whitespace is required in front of the `@`.
The GITHUB_IGNORE_USERNAMES set contains usernames that should not be linked but may
appear to be usernames in the documentation.
"""
import re

from sphinx.application import Sphinx
from sphinx.util import logging


logger = logging.getLogger(__name__)

# Format to use for the link to the GitHub profile
GITHUB_USERNAME_TEMPLATE = "https://github.com/{}"
# Regex to match username references
GITHUB_USERNAME_REGEX = re.compile(
r"""
\ # Required initial whitespace
@([A-Za-z0-9-]+) # Match @ then any alphanumeric character or - for the username
""",
flags=re.VERBOSE,
)
GITHUB_IGNORE_USERNAMES = {"todo", "WordPress", "username", "defaultValue"}


def _replace_username(match: re.Match) -> str:
username = match.group(1)
if username in GITHUB_IGNORE_USERNAMES:
logger.debug(f"Ignoring username reference: {username}")
return match.group(0)
logger.debug(f"Replacing username reference: {username}")
return f" [@{username}]({GITHUB_USERNAME_TEMPLATE.format(username)})"


def replace_username_references(app, docname, source):
logger.debug(f"In file: {docname}")
source[0] = GITHUB_USERNAME_REGEX.sub(_replace_username, source[0])


def setup(app: Sphinx):
# Hook for running the replace username references when the source file is read
app.connect("source-read", replace_username_references)
Loading

0 comments on commit fa356c1

Please sign in to comment.