Skip to content

Commit a88c20b

Browse files
committed
Use ugly URLs
1 parent 539d936 commit a88c20b

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

.circleci/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,16 @@ jobs:
3535
- hugo/install:
3636
version: 0.132.2
3737
- run:
38-
name: "Build production website"
38+
name: "Build website"
3939
command: |
4040
artifactsUrl="https://output.circle-artifacts.com/output/job/${CIRCLE_WORKFLOW_JOB_ID}/artifacts/0/site"
4141
npm run build \
4242
-- \
4343
--baseURL "${artifactsUrl}/"
4444
environment:
4545
# For maximum backward compatibility with Hugo modules
46-
HUGO_ENVIRONMENT: production
47-
HUGO_ENV: production
46+
HUGO_ENVIRONMENT: circleci
47+
HUGO_ENV: circleci
4848
TZ: America/New_York
4949
- persist_to_workspace:
5050
paths:

config/circleci/hugo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Overrides for CircleCI environment
2+
baseurl = "/"
3+
uglyURLs = true

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"name": "nuodb-cp-docs",
3-
"version": "0.0.0",
4-
"description": "Doks theme",
5-
"author": "Hyas",
6-
"license": "MIT",
3+
"version": "0.0.1",
4+
"description": "NuoDB Control Plane documentation",
5+
"author": "NuoDB",
6+
"license": "BSD-3-Clause",
77
"scripts": {
88
"create": "hugo new",
99
"dev": "hugo server --disableFastRender --noHTTPCache",

0 commit comments

Comments
 (0)