Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync to upstream #1

Merged
merged 120 commits into from
Mar 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
120 commits
Select commit Hold shift + click to select a range
be2a0ff
typo continuar spanish
lmorillas Jul 10, 2023
92674f8
Replace static Swagger-ui distribution with unpkg version (#1604)
theletterf Jul 12, 2023
07aca7c
Create hi.toml
panchal20bhavin Jul 11, 2023
7f39b82
Split Navigation and Search pages (#1352)
LisaFC Jul 13, 2023
b53f5f1
Tabpane: support persistence of all active tabs (#1611)
chalin Jul 13, 2023
841b9a0
Update community_links.html (#1621)
hcientist Jul 15, 2023
a640e98
css: Support dartsass as transpiler (#1598)
deining Jul 27, 2023
f76bf24
Allow link-color to be set by projects
chalin Jul 27, 2023
0b20474
Fix whitespace cleanup syntax issue (#1626)
sevein Jul 27, 2023
b725210
README.md: add badges at top of page (#1623)
deining Jul 27, 2023
ab1f1d0
Feedback questions: add localization (#1615)
deining Jul 27, 2023
9741e07
tabpane width fix (#1639)
chalin Aug 2, 2023
3f3172a
tabpane: fix duplicate-key detection (#1638)
chalin Aug 2, 2023
71f4f30
User guide Print page: move tabs to separate pane to eliminate warnin…
chalin Aug 3, 2023
c171841
New blog post: Upgrading to Docsy 0.7 & Bootstrap 5 (#1640)
chalin Aug 3, 2023
c712065
Tabpane: improve key-kind default setting (#1643)
chalin Aug 3, 2023
d30b1c9
Fix creation of new child page (#1644)
deining Aug 4, 2023
5692333
Algolia search: show search box in the sidebar (#1651)
deining Aug 11, 2023
d52e509
CHANGELOG copyedits (#1653)
chalin Aug 11, 2023
78f9ef1
Stick to Bootstrap button styling when $enable-rounded (#1656)
chalin Aug 17, 2023
c5fd935
Algolia support from config only (#1662)
chalin Aug 17, 2023
daa8c95
Whitespace cleanup in layouts/partials/scripts.html (#1668)
chalin Aug 17, 2023
5295589
Fix left-nav height and padding (#1661)
chalin Aug 18, 2023
8f511a7
Tabbed panes: fix styling when not at top-level & other tweaks (#1671)
chalin Nov 3, 2023
ddd897c
Upgrade Hugo to 0.120.3, and Node engine constraint (#1701)
chalin Nov 3, 2023
2ea2fa4
Algolia search, fix: point js + css file to specific version (#1678)
deining Nov 8, 2023
dc90f16
Release v0.7.2 preparation (#1702)
chalin Nov 8, 2023
8fed71b
Recover RSS round-button style (#1710)
chalin Nov 8, 2023
a9dc9c3
Upgrade to Hugo 0.120.4, which include security patch (#1711)
chalin Nov 8, 2023
fd669b7
Final CHANGELOG tweak in prep for 0.7.2 (#1712)
chalin Nov 9, 2023
bdacd01
Misc updates to CONTRIBUTING.md (#1714)
chalin Nov 9, 2023
eab080c
Set NPM package version to 0.7.3-dev.0-unreleased (#1715)
chalin Nov 9, 2023
fe443d3
Update package.json: adjust dependencies (#1722)
chalin Nov 10, 2023
580fee0
Offer Docsy as a single Hugo Module (#1217)
deining Nov 10, 2023
c36c727
README and CHANGELOG cleanup (#1729)
chalin Nov 11, 2023
1966f96
Auto-sync vendor assets & Hugo module versions + copyedits to README …
chalin Nov 12, 2023
8e9cb3c
Bump Dockerfile to latest version (#1732)
deining Nov 12, 2023
369bc72
add post_view_this to i18n ja (#1700)
hanapedia Nov 13, 2023
1daab02
change i18n zh-cn post_posts_in (#1683)
potterhe Nov 13, 2023
889cd68
Improve wording with i18n/zh-tw.toml (#1664)
huanlin Nov 13, 2023
e6c28d3
Use SCSS `join()` rather than `prepend()` (#1736)
chalin Nov 13, 2023
8e35258
Properly set baseURL for the User Guide (#1737)
chalin Nov 13, 2023
eaba498
Change breadcrumb and print links to RelPermalink (#1699)
fekete-robert Nov 13, 2023
7187dea
Enable page feedback even without a Google analytics ID (#1727)
chalin Nov 14, 2023
885fad8
[GA4] Emit `page_helpful` events for page feedback (#1726)
chalin Nov 14, 2023
f84d00f
Single Hugo-module support: update CHANGELOG and docs (#1743)
chalin Nov 16, 2023
1ad6506
NPM dependencies: fix dep install timing issue (#1738)
chalin Nov 17, 2023
2f71d33
Fall back to Hugo's default behavior for disableHugoGeneratorInject (…
chalin Nov 17, 2023
89dd0e2
Page feedback & GA4 docs adjustments (#1742)
chalin Nov 17, 2023
89b1048
Tabpane: update UG + CHANGELOG (#1747)
chalin Nov 27, 2023
c2efdd5
[blog] Docsy priorities for 2024 (#1755)
chalin Nov 28, 2023
6bb4f99
Release v0.8.0 preparation (#1756)
chalin Nov 29, 2023
8f02d7f
Set NPM package version to next unreleased dev & rel-doc tweaks (#1761)
chalin Nov 30, 2023
0d3d631
css: fix an issue on `.highlight pre` border radius (#1762)
mtardy Dec 6, 2023
05b323a
add post_view_this to tr i18n (#1764)
lareii Dec 6, 2023
b021d9d
some improvements and additions to i18n tr (#1766)
lareii Dec 8, 2023
1092a03
NPM dependencies: Update font-awesome package to include new twitter …
venkyvajrala Dec 8, 2023
6a71096
Added docs.layer5.io on Docsy theme examples (#1752)
iArchitSharma Dec 8, 2023
309053b
Typo in polish translation (#1770)
marcin-ogon Jan 11, 2024
91e0815
[CI] Add smoke test via GitHub workflow (#1776)
chalin Jan 13, 2024
e22fc86
[CI] Run npm test scripts under Linux and Windows (#1778)
chalin Jan 13, 2024
068e57b
Cleanup: drop NPM script that is no longer needed, tweak job names (#…
chalin Jan 13, 2024
ce52bb0
RSS button: link to XML via RelPermalink (#1786)
chalin Jan 15, 2024
96baa45
Fix warning: '.File.UniqueID on zero object' (#1007) (#1633)
deining Jan 19, 2024
d98dced
[CI] Fix markdown-link-check ignore pattern & NPM link vers update (#…
chalin Jan 19, 2024
fe4c06b
[CI] Smoke test new site from Hugo-module Docsy as well (#1795)
chalin Jan 20, 2024
d99b473
[CI] Disable scheduled runs of build and smoke tests (#1798)
chalin Jan 21, 2024
d1f6ad6
Bump dependencies to their latest versions (#1802)
deining Feb 1, 2024
91efe35
Bump FontAwesome to latest released version 6.5.1 (#1803)
deining Feb 1, 2024
58cdd3a
Smoke test: improvements (#1800)
deining Feb 1, 2024
340cbf7
Fix links for single language sites (#1744)
LisaFC Feb 1, 2024
c1cad5f
Whitespace cleanup in page-meta-links.html (#1808)
chalin Feb 1, 2024
435b2e0
Rework and clean up page-meta-links.html + CHANGELOG entry (#1807)
chalin Feb 1, 2024
5d96fa3
CHANGELOG copyedits & pin 0.9.0 as next release & NPM script tweaks (…
chalin Feb 2, 2024
edd2a0c
Use cpy-cli for OS-independent file copy (#1810)
chalin Feb 2, 2024
def1d2c
[CI] test:all should also check/fix format (#1811)
chalin Feb 2, 2024
a4eaf8f
Drop AnchorJS in favor of Hugo markdown render hook (#1463)
deining Feb 2, 2024
e3d83dc
Add params to offlineSearch examples (#1771)
svrnm Feb 2, 2024
33aa253
Link styles: follow recommended practice and underline by default (#1…
chalin Feb 2, 2024
40561ad
Pull in latest mermaid version while allowing custom versions (#1410)
deining Feb 2, 2024
430921b
CHANGELOG updates for mermaid (#1816)
chalin Feb 2, 2024
9352504
layouts: split footer partial in several partials (#1500)
yann-soubeyrand Feb 2, 2024
e22aec4
Handle svg hero images in blocks/cover shortcode (#1505)
fekete-robert Feb 2, 2024
1e12790
Footer: factor out copyright, and code cleanup (#1817)
chalin Feb 2, 2024
e150a84
Blog posts: show page-meta-lastmod (#1791)
chalin Feb 2, 2024
9c3f91b
Footer, copyright notice: allow customization of year (#1593)
deining Feb 2, 2024
8a32b91
Add link to example site (themes.gohugo.io) (#1825)
deining Feb 3, 2024
82622a2
[CI] Smoke tests: fix for repo forks, but also disable on push (#1827)
chalin Feb 3, 2024
6447dfe
user guide, multi-language settings: improve config options (#1830)
deining Feb 3, 2024
d0cf645
user guide, definition listings of site params: add 'params' context …
deining Feb 3, 2024
bff41bb
infrastructure: add issue templates (#1824)
deining Feb 4, 2024
2354d19
Issue template 'enhancement': Fix error (#1834)
deining Feb 6, 2024
f5540b6
Ensure hamburger isn't underlined, for real (#1833)
chalin Feb 7, 2024
797b16d
Fix repo-links page-meta class names (#1819)
chalin Feb 7, 2024
29ebb03
Support date range in footer copyright element (#1821)
chalin Feb 8, 2024
3640101
Heading self-links: more compact, customizable, and reusable (#1831)
chalin Feb 8, 2024
fe067f3
Blocks/feature fix (#1503)
fekete-robert Feb 8, 2024
03aa74d
CHANGELOG: clarify that blocks/feature no longer adds ellipsis (#1848)
chalin Feb 8, 2024
c074d68
Footer streamlining: hide About-link and All-rights text by default (…
chalin Feb 8, 2024
612f0c5
[UG] Refer to Bootstrap 5 doc pages and files (#1844)
chalin Feb 8, 2024
621fb34
Footer copyright default to site title for authors (#1851)
chalin Feb 8, 2024
849dea0
[UG] Document how to style and hide last-modified page notes (#1843)
chalin Feb 9, 2024
5b3da44
Bump KaTeX scripts to latest released version 0.16.9 (#1853)
deining Feb 9, 2024
752d9e1
CHANGELOG tweaks for 0.9.0 (#1855)
chalin Feb 9, 2024
faba0f4
Update repository-links.md: use "metadata" (#1856)
chalin Feb 9, 2024
ea7405f
Smoke tests: don't cancel Windows build after an error in Linux build…
deining Feb 13, 2024
29829ba
[blog] Docsy 0.9.0 release report (#1854)
chalin Feb 14, 2024
b2fa1c4
Release 0.9.0 preparation (#1860)
chalin Feb 14, 2024
03eafa9
Post 0.9.0 work - set vers to `0.9.1-dev*` (#1864)
chalin Feb 15, 2024
85fbe76
0.9.0 release report updates (#1865)
chalin Feb 16, 2024
3692cb8
Section-index: ensure .Parent isn't nil (#1866)
chalin Feb 16, 2024
6195793
Release v0.9.1 preparation (#1867)
chalin Feb 17, 2024
a72c57c
Set NPM package version to 0.9.2-dev (#1870)
chalin Feb 17, 2024
ff2a42e
Address GA.ID param deprecation warning (#1879)
chalin Mar 4, 2024
a3b3ff6
Upgrade to Hugo 0.123.x (#1877)
chalin Mar 4, 2024
020f860
UG: normalize PSC links into local blog page (#1884)
chalin Mar 4, 2024
f37de8d
UG: fix links to modules migration page (#1883)
chalin Mar 6, 2024
b0df3d9
Mermaid diagram with diagram specific settings: fix 'uncaught TypeErr…
deining Mar 6, 2024
9e0aa1f
Bump jquery to latest released version 3.7.1 (#1886)
deining Mar 6, 2024
2a8b210
Upgrade to Bootstrap 5.3.3 (#1563)
deining Mar 6, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
* text=auto eol=lf
*.cmd text eol=crlf
*.bat text eol=crlf
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: Bug report
labels: [bug, needs-triage]
about: Create a report to help us improve
---

<!-- Describe you environment by answering the questions below. Put your answers after the colon on each line. -->

### Environment

- [ ] Version of Docsy you are using:
- [ ] How are you using Docsy? As a:
- [ ] Hugo module
- [ ] NPM module
- [ ] Git submodule
- [ ] Other:
- [ ] Version of Hugo you are using (output of `hugo version`):
- [ ] OS:
- [ ] Linux
- [ ] macOS
- [ ] Windows
- [ ] Other:

### Problem

<!-- Concisely describe the problem you are seeing, ideally provide steps to reproduce it. -->
9 changes: 9 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
blank_issues_enabled: false
contact_links:
- name: SUPPORT, ISSUES, and TROUBLESHOOTING
url: https://github.com/google/docsy/discussions
about:
Please DO NOT use GitHub issues for support requests, instead start a
discussion thread at https://github.com/google/docsy/discussions. Feel
free to open an issue once your problem is confirmed by the docsy
maintainers and/or the docsy community.
7 changes: 7 additions & 0 deletions .github/ISSUE_TEMPLATE/enhancement.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
name: Enhancement proposal
labels: [enhancement, needs-triage]
about: Propose an enhancement or submit a feature request
---

<!-- Tell us about the enhancement or describe your feature wish. Think about if it really belongs in the docsy theme; you may want to discuss it on https://github.com/google/docsy/discussions first. -->
50 changes: 50 additions & 0 deletions .github/workflows/smoke.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Smoke test across OSs: build a Docsy-based site from scratch,
# using Docsy as hugo module and fetching Docsy via NPM.

name: smoke

on:
push:
branches: [main]
pull_request:
# schedule: # midnight every day
# - cron: '0 0 * * *'
workflow_dispatch:

jobs:
new-site:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest]
docsy-src: [NPM, HUGO_MODULE]
env:
BASE_REPO: ${{ github.repository }}
BRANCH: ${{ github.head_ref }}
PR_REPO: ${{ github.event.pull_request.head.repo.full_name }}
SHA: ${{ github.sha }}
# TODO: drop PR testing under Windows because it's too slow?
# if: github.event_name != 'pull_request' && matrix.os != 'windows-latest'
if: github.event_name != 'push' || github.repository == 'google/docsy'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: npm
cache-dependency-path: package.json
- run: tools/install-hugo.sh
shell: bash
- name: Make site (non-PR)
if: github.event_name != 'pull_request'
run: |
mkdir tmp && cd tmp && set -x
../tools/make-site.sh -s ${{ matrix.docsy-src }} -r $BASE_REPO -v $SHA
shell: bash
- name: Make site from PR
if: github.event_name == 'pull_request'
run: |
mkdir tmp && cd tmp && set -x
../tools/make-site.sh -s ${{ matrix.docsy-src }} -r $PR_REPO -v $BRANCH
shell: bash
28 changes: 28 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Build Docsy & the User Guide and run all repo checks across OSs.

name: test

on:
push:
branches: [main]
pull_request:
# schedule:
# - cron: '11 0 * * *' # 11 past midnight every day
workflow_dispatch:

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: npm
cache-dependency-path: package.json
- run: npm install --omit=optional
- run: npm run test:all
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
node_modules/
package-lock.json
/tmp

# Hugo
.hugo_build.lock
Expand Down
16 changes: 16 additions & 0 deletions .markdown-link-check.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"ignorePatterns": [
{
"pattern": "^http://localhost"
},
{
"pattern": "^https://badges.netlify.com/api/docsydocs.svg\\?branch=main"
},
{
"pattern": "https://docs.npmjs.com/cli/v10/using-npm/scripts#prepare-and-prepublish"
}
],
"timeout": "3s",
"retryOn429": true,
"aliveStatusCodes": [200, 206]
}
6 changes: 6 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.editorconfig
.gitattributes
.gitignore
.nvmrc
.prettierignore
.s3deploy.yml
6 changes: 3 additions & 3 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"semi": true,
"singleQuote": true,
"tabWidth": 4
"proseWrap": "always",
"semi": true,
"singleQuote": true
}
10 changes: 3 additions & 7 deletions .vscode/cspell.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
// For settings, see https://www.streetsidesoftware.com/vscode-spell-checker/docs/configuration/
{
"version": "0.2",
"caseSensitive": true,
"words": [
"Docsy",
"shortcode",
"shortcodes"
]
"version": "0.2",
"caseSensitive": true,
"words": ["Docsy", "hugo", "shortcode", "shortcodes", "warnf"]
}
Loading