-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
58 changed files
with
1,759 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Deploy Hugo and TypeDoc Site to GitHub Pages | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build-deploy: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Hugo | ||
uses: peaceiris/actions-hugo@v2 | ||
with: | ||
hugo-version: '0.135.0' | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '20.11.0' | ||
|
||
- name: Install Dependencies | ||
run: npm install | ||
|
||
- name: Generate TypeDoc Documentation | ||
run: npx typedoc | ||
|
||
- name: Build Hugo site | ||
run: | | ||
hugo --minify | ||
- name: Deploy to GitHub Pages | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./public | ||
publish_branch: gh-pages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,3 +72,6 @@ antlr-*.jar | |
build/ | ||
dist/ | ||
website/ | ||
|
||
## hugo static/api for typedoc outputs | ||
site/static/api/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 2 | ||
indent_style = space | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.toml] | ||
max_line_length = 100 | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
[layouts/shortcodes/*.html] | ||
insert_final_newline = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# IDEs | ||
.idea/ | ||
|
||
# Hugo | ||
resources/ | ||
public/ | ||
jsconfig.json |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# [Hugo Docs Theme](https://github.com/HugoBlox/theme-documentation) | ||
|
||
[![Screenshot](https://raw.githubusercontent.com/HugoBlox/theme-documentation/main/.github/preview.png)](https://hugoblox.com/templates/details/docs/) | ||
|
||
The Hugo **Documentation Template** empowers with everything you need to build a beautiful documentation website, including a customizable block-based homepage and blog. It's ultra-fast and easy, letting you focus on your content. It's also no-code by default, so no JavaScript knowledge is required unlike other templates! | ||
|
||
️**Trusted by 250,000+ creators, teams, and organizations.** Highly customizable via the integrated **no-code, block-based website builder**, making every site truly personalized ⭐⭐⭐⭐⭐ | ||
|
||
[![Get Started](https://img.shields.io/badge/-Get%20started-ff4655?style=for-the-badge)](https://hugoblox.com/templates/details/docs/) | ||
[![Discord](https://img.shields.io/discord/722225264733716590?style=for-the-badge)](https://discord.com/channels/722225264733716590/742892432458252370/742895548159492138) | ||
[![Twitter Follow](https://img.shields.io/twitter/follow/GetResearchDev?label=Follow%20on%20Twitter)](https://twitter.com/GetResearchDev) | ||
|
||
[Check out the latest demo](https://hugo-docs-theme.netlify.app/) of what you'll get in less than 10 minutes, or [view the showcase](https://hugoblox.com/creators/). | ||
|
||
The integrated [**Hugo Blox**](https://hugoblox.com) website builder and CMS makes it easy to create a beautiful website for free. Edit your site in the CMS (or your favorite editor), generate it with [Hugo](https://github.com/gohugoio/hugo), and deploy with GitHub or Netlify. Customize anything on your site with widgets, light/dark themes, and language packs. | ||
|
||
- 👉 [**Get Started**](https://hugoblox.com/templates/details/docs/) | ||
- 📚 [View the **documentation**](https://docs.hugoblox.com/) | ||
- 💬 [Chat with the **Hugo Blox Builder community**](https://discord.gg/z8wNYzb) or [**Hugo community**](https://discourse.gohugo.io) | ||
- ⬇️ **Automatically import citations from BibTeX** with the [Academic File Converter](https://github.com/GetRD/academic-file-converter) | ||
- 🐦 Share your new site with the community: [@GetResearchDev](https://twitter.com/GetResearchDev) [@GeorgeCushen](https://twitter.com/GeorgeCushen) [#MadeWithHugoBlox](https://twitter.com/search?q=%23MadeWithHugoBlox&src=typed_query) | ||
- 🗳 [Take the survey and help us improve #OpenSource](https://forms.gle/NioD9VhUg7PNmdCAA) | ||
- 🚀 [Contribute improvements](https://github.com/HugoBlox/hugo-blox-builder/blob/main/CONTRIBUTING.md) or [suggest improvements](https://github.com/HugoBlox/hugo-blox-builder/issues) | ||
- ⬆️ **Updating?** View the [Update Guide](https://docs.hugoblox.com/reference/update/) and [Release Notes](https://github.com/HugoBlox/hugo-blox-builder/releases) | ||
|
||
## We ask you, humbly, to support this open source movement | ||
|
||
Today we ask you to defend the open source independence of the Hugo Blox Builder and themes 🐧 | ||
|
||
We're an open source movement that depends on your support to stay online and thriving, but 99.9% of our creators don't give; they simply look the other way. | ||
|
||
### [❤️ Click here to become a Sponsor, unlocking awesome perks such as _exclusive_ templates and blox_](https://hugoblox.com/sponsor/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
footer .powered-by:last-child { | ||
display: none; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
:root { | ||
--color-primary-50: 250 245 255; | ||
--color-primary-100: 243 232 255; | ||
--color-primary-200: 233 213 255; | ||
--color-primary-300: 216 180 254; | ||
--color-primary-400: 192 132 252; | ||
--color-primary-500: 168 85 247; | ||
--color-primary-600: 147 51 234; | ||
--color-primary-700: 126 34 206; | ||
--color-primary-800: 107 33 168; | ||
--color-primary-900: 88 28 135; | ||
--color-primary-950: 59 7 100; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
# Configuration of Hugo | ||
# Guide: https://docs.hugoblox.com/tutorial/ | ||
# Hugo Documentation: https://gohugo.io/getting-started/configuration/#all-configuration-settings | ||
# This file is formatted using YAML syntax - learn more at https://learnxinyminutes.com/docs/yaml/ | ||
|
||
title: "Hugo Docs" # Website name | ||
baseURL: 'https://example.com/' # Website URL | ||
|
||
############################ | ||
## PAGE OPTIONS | ||
############################ | ||
|
||
cascade: | ||
# Docs folder options | ||
- _target: | ||
path: /docs/** | ||
editable: false | ||
show_breadcrumb: true | ||
# Hide date from Next In Series | ||
show_date: false | ||
# Show date modified at end of content | ||
show_date_updated: true | ||
# Blog post options | ||
- _target: | ||
path: /blog/** | ||
kind: page | ||
pager: true | ||
editable: false | ||
hide_date: false | ||
show_date_updated: true | ||
reading_time: true | ||
commentable: false | ||
show_related: true | ||
share: true | ||
# Just use Breadcrumb for navigation on blog post pages? | ||
show_breadcrumb: false | ||
header: | ||
navbar: | ||
enable: true | ||
|
||
############################ | ||
## LANGUAGE | ||
############################ | ||
|
||
defaultContentLanguage: en | ||
hasCJKLanguage: false | ||
defaultContentLanguageInSubdir: false | ||
removePathAccents: true | ||
|
||
############################ | ||
## ADVANCED | ||
############################ | ||
|
||
build: | ||
writeStats: true | ||
enableGitInfo: false | ||
summaryLength: 30 | ||
pagination: | ||
pagerSize: 10 | ||
enableEmoji: true | ||
enableRobotsTXT: true | ||
footnotereturnlinkcontents: <sup>^</sup> | ||
ignoreFiles: [\.ipynb$, .ipynb_checkpoints$, \.Rmd$, \.Rmarkdown$, _cache$] | ||
enableInlineShortcodes: true | ||
permalinks: | ||
authors: '/author/:slug/' | ||
tags: '/tag/:slug/' | ||
categories: '/category/:slug/' | ||
disableAliases: true | ||
outputs: | ||
home: [HTML, RSS, WebAppManifest, headers, redirects, backlinks] | ||
page: [HTML] | ||
section: [HTML, RSS] | ||
imaging: | ||
resampleFilter: lanczos | ||
quality: 85 | ||
anchor: smart | ||
timeout: 600000 | ||
taxonomies: | ||
tag: tags | ||
category: categories | ||
author: authors | ||
markup: | ||
_merge: deep | ||
related: | ||
threshold: 80 | ||
includeNewer: true | ||
toLower: true | ||
indices: | ||
- name: tags | ||
weight: 100 | ||
- name: categories | ||
weight: 70 | ||
security: | ||
_merge: deep | ||
sitemap: | ||
_merge: deep | ||
minify: | ||
_merge: deep |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Languages | ||
# Create a section for each of your site's languages. | ||
# Documentation: https://docs.hugoblox.com/reference/language/ | ||
|
||
# Default language | ||
en: | ||
languageCode: en-us | ||
# Uncomment for multi-lingual sites, and move English content into `en` sub-folder. | ||
#contentDir: content/en | ||
|
||
# Uncomment the lines below to configure your website in a second language. | ||
#zh: | ||
# languageCode: zh-Hans | ||
# contentDir: content/zh | ||
# title: Chinese website title... | ||
# params: | ||
# description: Site description in Chinese... | ||
# menu: | ||
# main: | ||
# - name: 传 | ||
# url: '#about' | ||
# weight: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Navigation Links | ||
# The weight parameter defines the order that the links will appear in. | ||
|
||
main: | ||
- name: Home | ||
url: / | ||
weight: 10 | ||
- name: Documentation | ||
url: docs/ | ||
weight: 20 | ||
- name: API | ||
url: api/ | ||
weight: 30 | ||
- name: Showcase | ||
url: showcase/ | ||
weight: 40 | ||
- name: Community | ||
url: community/ | ||
weight: 50 | ||
|
||
sidebar: | ||
- identifier: more | ||
name: Still need help? | ||
params: | ||
type: separator | ||
weight: 1 | ||
- identifier: knowledge-hub | ||
name: "Knowledge Hub" | ||
pageRef: "knowledge-hub" | ||
weight: 2 | ||
- identifier: discuss | ||
name: "Discuss" | ||
url: "https://github.com/sparklabOrg/codemetrica/discussions/categories/q-a" | ||
weight: 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
############################ | ||
## HUGO MODULES | ||
## Install or uninstall themes and plugins here. | ||
## Docs: https://gohugo.io/hugo-modules/ | ||
############################ | ||
|
||
imports: | ||
- path: github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify | ||
- path: github.com/HugoBlox/hugo-blox-builder/modules/blox-tailwind | ||
|
||
# Install any Hugo Blox within the `hugo-blox/blox/` folder | ||
mounts: | ||
- source: hugo-blox/blox/community | ||
target: layouts/partials/blox/community/ | ||
includeFiles: '**.html' | ||
- source: hugo-blox/blox/all-access | ||
target: layouts/partials/blox/ | ||
includeFiles: '**.html' | ||
- source: hugo-blox/blox | ||
target: assets/dist/community/blox/ | ||
includeFiles: '**.css' | ||
- source: layouts | ||
target: layouts | ||
- source: assets | ||
target: assets |
Oops, something went wrong.