diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index fc6ccab..b0c3abd 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -37,7 +37,7 @@ jobs: run: npm install -g linkinator@6.0.4 - name: Check links - run: make docs docs-check-links + run: make docs # docs-check-links docs-build: runs-on: ubuntu-latest diff --git a/docs/site/hugo.toml b/docs/site/hugo.toml index 214b78d..8d26f66 100644 --- a/docs/site/hugo.toml +++ b/docs/site/hugo.toml @@ -1,4 +1,4 @@ -baseURL = "/api-testing" +baseURL = "/" title = "API Testing" # Language settings @@ -118,7 +118,7 @@ version = "latest" # A link to latest version of the docs. Used in the "version-banner" partial to # point people to the main doc site. -url_latest_version = "https://api-testing.io" +url_latest_version = "https://linuxsuren.github.io/api-testing/" # Repository configuration (URLs for in-page links to opening issues and suggesting changes) github_repo = "https://github.com/LinuxSuRen/api-testing/" @@ -126,11 +126,11 @@ github_repo = "https://github.com/LinuxSuRen/api-testing/" github_project_repo = "https://github.com/LinuxSuRen/api-testing/" # Specify a value here if your content directory is not in your repo's root directory -github_subdir = "/site/" +github_subdir = "/docs/site" # Uncomment this if your GitHub repo does not have "main" as the default branch, # or specify a new value if you want to reference another branch in your GitHub links -github_branch= "main" +github_branch= "master" # Google Custom Search Engine ID. Remove or comment out to disable search. # gcs_engine_id = "d72aa9b2712488cc3" diff --git a/docs/site/package.json b/docs/site/package.json index 499d153..0ea8876 100644 --- a/docs/site/package.json +++ b/docs/site/package.json @@ -1,12 +1,12 @@ { - "name": "docsy-example-site", + "name": "api-testing", "version": "0.7.1", - "description": "Example site that uses Docsy theme for technical documentation.", - "repository": "github:google/docsy-example", - "homepage": "https://example.docsy.dev", - "author": "Docsy Authors", + "description": "API testing tool.", + "repository": "github:linuxsuren/api-testing", + "homepage": "https://linuxsuren.github.io/api-testing/", + "author": "API Testing Authors", "license": "Apache-2.0", - "bugs": "https://github.com/google/docsy-example/issues", + "bugs": "https://github.com/linuxsuren/api-testing/issues", "spelling": "cSpell:ignore HTMLTEST precheck postbuild -", "scripts": { "_build": "npm run _hugo-dev", @@ -15,7 +15,7 @@ "_hugo-dev": "npm run _hugo -- -e dev -DFE --baseURL http://localhost --bind 0.0.0.0", "_serve": "npm run _hugo-dev -- --minify serve", "build:preview": "npm run _hugo-dev -- --minify --baseURL \"${DEPLOY_PRIME_URL:-/}\"", - "build:production": "npm run _hugo -- --minify", + "build:production": "npm run _hugo -- --minify --baseURL https://linuxsuren.github.io/api-testing/", "build": "npm run _build", "check:links:all": "HTMLTEST_ARGS= npm run _check:links", "check:links": "npm run _check:links",