Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 1.03 KB

configuration.md

File metadata and controls

23 lines (17 loc) · 1.03 KB

Configuration

The indexers are configured entirely via environment variables.

The following environment variables are accepted, by indexer sub command:

hugo

  • ELASTICSEARCH_ENDPOINT: URI for the Elasticsearch API endpoint.
  • GITHUB_TOKEN: If the repo is private, use this access token.
  • INDEX_NAME: Name of the search index to maintain.
  • BASE_URL: URL corresponding to the published root page of the site.
  • REPOSITORY_HANDLE: Github organization and repository name in the format org/repo.
  • REPOSITORY_BRANCH: Defaults to main.
  • REPOSITORY_SUBFOLDER: Only look into this path within the repository for indexable content.
  • TYPE_LABEL: User friendly search result type name.
  • APIDOCS_BASE_URI: Base URI for API documentation. Should be https://docs.giantswarm.io/api/.
  • APIDOCS_BASE_PATH: Should be /api/
  • API_SPEC_FILES: Comma separated list of YAML files to fetch for the OpenAPI spec.

blog

  • HUBSPOT_ACCESS_TOKEN: Hubspot Private App access token (must have at least the scope content).