commit ca8ced54ac2c11832f898776211f4850a6c7b8f7 Author: cellarspoon Date: Thu Dec 30 20:46:53 2021 +0100 Init diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..dad6b58 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,11 @@ +# editorconfig.org + +root = true + +[*] +indent_style = space +indent_size = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true \ No newline at end of file diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 0000000..57d0057 --- /dev/null +++ b/.eslintignore @@ -0,0 +1,4 @@ +assets/js/index.js +assets/js/katex.js +assets/js/vendor +node_modules \ No newline at end of file diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000..c926994 --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,31 @@ +{ + "env": { + "browser": true, + "commonjs": true, + "es6": true, + "node": true + }, + "extends": "eslint:recommended", + "globals": { + "Atomics": "readonly", + "SharedArrayBuffer": "readonly" + }, + "parserOptions": { + "ecmaVersion": 2018, + "sourceType": "module" + }, + "rules": { + "no-console": 0, + "quotes": ["error", "single"], + "comma-dangle": [ + "error", + { + "arrays": "always-multiline", + "objects": "always-multiline", + "imports": "always-multiline", + "exports": "always-multiline", + "functions": "ignore" + } + ] + } +} \ No newline at end of file diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..b15c6e6 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,12 @@ +# These are supported funding model platforms + +github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] +patreon: # Replace with a single Patreon username +open_collective: doks # Replace with a single Open Collective username +ko_fi: # Replace with a single Ko-fi username +tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +liberapay: # Replace with a single Liberapay username +issuehunt: # Replace with a single IssueHunt username +otechie: # Replace with a single Otechie username +custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/.github/ISSUE_TEMPLATE/bug-report---.md b/.github/ISSUE_TEMPLATE/bug-report---.md new file mode 100644 index 0000000..6a8b3a8 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report---.md @@ -0,0 +1,25 @@ +--- +name: "Bug report \U0001F41E" +about: Create a report to help us improve + +--- + +## Description + +Describe the issue that you're seeing. + +### Steps to reproduce + +Clear steps describing how to reproduce the issue. Please please please link to a demo project if possible, this makes your issue _much_ easier to diagnose (seriously). + +### Expected result + +What should happen? + +### Actual result + +What happened. + +### Environment + +Paste the information here as shown by `npm run check` diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..e376618 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,4 @@ +contact_links: + - name: Question 🙋 + url: https://github.com/h-enk/doks/discussions/categories/q-a + about: Ask your question in Doks Discussions \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature-request---.md b/.github/ISSUE_TEMPLATE/feature-request---.md new file mode 100644 index 0000000..74da274 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature-request---.md @@ -0,0 +1,17 @@ +--- +name: "Feature request \U0001F680" +about: Suggest an idea for Doks + +--- + +## Summary + +Brief explanation of the feature. + +### Basic example + +Include a basic example or links here. + +### Motivation + +Why are we doing this? What use cases does it support? What is the expected outcome? diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..8abca40 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,11 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates + +version: 2 +updates: + - package-ecosystem: "npm" # See documentation for possible values + directory: "/" # Location of package manifests + schedule: + interval: "daily" diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml new file mode 100644 index 0000000..0f02f7c --- /dev/null +++ b/.github/workflows/codeql-analysis.yml @@ -0,0 +1,62 @@ +# For most projects, this workflow file will not need changing; you simply need +# to commit it to your repository. +# +# You may wish to alter this file to override the set of languages analyzed, +# or to provide custom queries or build logic. +name: "CodeQL" + +on: + push: + branches: [master] + pull_request: + # The branches below must be a subset of the branches above + branches: [master] + schedule: + - cron: '0 11 * * 5' + +jobs: + analyze: + name: Analyze + runs-on: ubuntu-latest + + strategy: + fail-fast: false + matrix: + # Override automatic language detection by changing the below list + # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python'] + language: ['javascript'] + # Learn more... + # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + # Initializes the CodeQL tools for scanning. + - name: Initialize CodeQL + uses: github/codeql-action/init@v1 + with: + languages: ${{ matrix.language }} + # If you wish to specify custom queries, you can do so here or in a config file. + # By default, queries listed here will override any specified in a config file. + # Prefix the list here with "+" to use these queries and those in the config file. + # queries: ./path/to/local/query, your-org/your-repo/queries@main + + # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). + # If this step fails, then you should remove it and run the build manually (see below) + - name: Autobuild + uses: github/codeql-action/autobuild@v1 + + # ℹī¸ Command-line programs to run using the OS shell. + # 📚 https://git.io/JvXDl + + # ✏ī¸ If the Autobuild fails above, remove it and uncomment the following three lines + # and modify them (or add more) to build your code if your project + # uses a compiled language + + #- run: | + # make bootstrap + # make release + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v1 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8f187f0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +node_modules +public +resources +# Local Netlify folder +.netlify +TODO \ No newline at end of file diff --git a/.markdownlint.json b/.markdownlint.json new file mode 100644 index 0000000..a8b885d --- /dev/null +++ b/.markdownlint.json @@ -0,0 +1,10 @@ +{ + "comment": "Hyas rules", + + "default": true, + "line_length": false, + "no-inline-html": false, + "no-trailing-punctuation": false, + "no-duplicate-heading": false, + "no-bare-urls": false +} \ No newline at end of file diff --git a/.markdownlintignore b/.markdownlintignore new file mode 100644 index 0000000..a0380d6 --- /dev/null +++ b/.markdownlintignore @@ -0,0 +1,3 @@ +node_modules +CHANGELOG.md +README.md \ No newline at end of file diff --git a/.stylelintignore b/.stylelintignore new file mode 100644 index 0000000..3972095 --- /dev/null +++ b/.stylelintignore @@ -0,0 +1,3 @@ +assets/scss/components/_syntax.scss +assets/scss/vendor +node_modules \ No newline at end of file diff --git a/.stylelintrc.json b/.stylelintrc.json new file mode 100644 index 0000000..1490802 --- /dev/null +++ b/.stylelintrc.json @@ -0,0 +1,34 @@ +{ + "extends": "stylelint-config-standard", + "rules": { + "no-empty-source": null, + "string-quotes": "double", + "at-rule-no-unknown": [ + true, + { + "ignoreAtRules": [ + "extend", + "at-root", + "debug", + "warn", + "error", + "if", + "else", + "for", + "each", + "while", + "mixin", + "include", + "content", + "return", + "function", + "tailwind", + "apply", + "responsive", + "variants", + "screen" + ] + } + ] + } +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..5c15400 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# beta.coopcloud.tech diff --git a/babel.config.js b/babel.config.js new file mode 100644 index 0000000..ce9c9de --- /dev/null +++ b/babel.config.js @@ -0,0 +1,17 @@ +module.exports = { + presets: [ + [ + '@babel/preset-env', + { + targets: { + browsers: [ + // Best practice: https://github.com/babel/babel/issues/7789 + '>=1%', + 'not ie 11', + 'not op_mini all' + ] + } + } + ] + ] +}; \ No newline at end of file diff --git a/config/_default/config.toml b/config/_default/config.toml new file mode 100644 index 0000000..80b9d91 --- /dev/null +++ b/config/_default/config.toml @@ -0,0 +1,119 @@ +baseurl = "https://beta.coopcloud.tech" +canonifyURLs = false +disableAliases = true +disableHugoGeneratorInject = true +enableEmoji = true +enableGitInfo = false +enableRobotsTXT = true +languageCode = "en-US" +paginate = 7 +rssLimit = 10 + +# Multilingual +defaultContentLanguage = "en" +# disableLanguages = [] +# defaultContentLanguageInSubdir = true + +# add redirects/headers +[outputs] +home = ["HTML", "RSS", "REDIRECTS", "HEADERS"] +section = ["HTML", "RSS", "SITEMAP"] + +# remove .{ext} from text/netlify +[mediaTypes."text/netlify"] +suffixes = [""] +delimiter = "" + +# add output format for netlify _redirects +[outputFormats.REDIRECTS] +mediaType = "text/netlify" +baseName = "_redirects" +isPlainText = true +notAlternative = true + +# add output format for netlify _headers +[outputFormats.HEADERS] +mediaType = "text/netlify" +baseName = "_headers" +isPlainText = true +notAlternative = true + +# add output format for section sitemap.xml +[outputFormats.SITEMAP] +mediaType = "application/xml" +baseName = "sitemap" +isHTML = false +isPlainText = true +noUgly = true +rel = "sitemap" + +[caches] + [caches.getjson] + dir = ":cacheDir/:project" + maxAge = "10s" + +[sitemap] + changefreq = "weekly" + filename = "sitemap.xml" + priority = 0.5 + +[taxonomies] + contributor = "contributors" + +[permalinks] + blog = "/blog/:title/" +# docs = "/docs/1.0/:sections[1:]/:title/" + +[minify.tdewolff.html] + keepWhitespace = false + +[module] + [module.hugoVersion] + extended = true + min = "0.80.0" + max = "" + [[module.mounts]] + source = "node_modules/@hyas/doks/archetypes" + target = "archetypes" + [[module.mounts]] + source = "node_modules/@hyas/doks/assets" + target = "assets" +# [[module.mounts]] +# source = "node_modules/@hyas/doks/content" +# target = "content" + [[module.mounts]] + source = "node_modules/@hyas/doks/data" + target = "data" + [[module.mounts]] + source = "node_modules/@hyas/doks/layouts" + target = "layouts" + [[module.mounts]] + source = "node_modules/@hyas/doks/static" + target = "static" + [[module.mounts]] + source = "node_modules/flexsearch" + target = "assets/js/vendor/flexsearch" + [[module.mounts]] + source = "node_modules/katex" + target = "assets/js/vendor/katex" + [[module.mounts]] + source = "node_modules/mermaid" + target = "assets/js/vendor/mermaid" + [[module.mounts]] + source = "assets" + target = "assets" + [[module.mounts]] + source = "static" + target = "static" +# [[module.mounts]] +# source = "content" +# target = "content" + [[module.mounts]] + source = "layouts" + target = "layouts" + [[module.mounts]] + source = "archetypes" + target = "archetypes" + [[module.mounts]] + source = "data" + target = "data" diff --git a/config/_default/languages.toml b/config/_default/languages.toml new file mode 100644 index 0000000..6ee6333 --- /dev/null +++ b/config/_default/languages.toml @@ -0,0 +1,6 @@ +[en] + languageName = "English" + contentDir = "content/en" + weight = 10 + [en.params] + languageISO = "EN" diff --git a/config/_default/markup.toml b/config/_default/markup.toml new file mode 100644 index 0000000..2880e30 --- /dev/null +++ b/config/_default/markup.toml @@ -0,0 +1,29 @@ +defaultMarkdownHandler = "goldmark" + +[goldmark] + [goldmark.extensions] + linkify = false + [goldmark.parser] + autoHeadingID = true + autoHeadingIDType = "github" + [goldmark.parser.attribute] + block = true + title = true + [goldmark.renderer] + unsafe = true + +[highlight] + codeFences = false + guessSyntax = false + hl_Lines = "" + lineNoStart = 1 + lineNos = false + lineNumbersInTable = true + noClasses = false + style = "dracula" + tabWidth = 4 + +[tableOfContents] + endLevel = 3 + ordered = false + startLevel = 2 diff --git a/config/_default/menus/menus.en.toml b/config/_default/menus/menus.en.toml new file mode 100644 index 0000000..668c324 --- /dev/null +++ b/config/_default/menus/menus.en.toml @@ -0,0 +1,21 @@ +[[docs]] + name = "Get Started" + weight = 10 + identifier = "get-started" + url = "/docs/get-started/intro/" + +[[docs]] + name = "Help" + weight = 60 + identifier = "help" + url = "/docs/help/" + +[[main]] + name = "Documentation" + url = "/docs/get-started/intro/" + weight = 10 + +[[main]] + name = "News" + url = "/blog/" + weight = 20 diff --git a/config/_default/params.toml b/config/_default/params.toml new file mode 100644 index 0000000..d294308 --- /dev/null +++ b/config/_default/params.toml @@ -0,0 +1,84 @@ +# Meta Data for SEO + +## Homepage +title = "Co-op Cloud" +titleSeparator = "-" +titleAddition = "The Co-operative Cloud" +description = "Public interest infrastructure. An alternative to corporate clouds built by tech co-ops." + +## Documentation +# docsVersion = "0.3" + +## Open Graph +images = ["ccsmall.png"] +ogLocale = "en_US" +domainTLD = "beta.coopcloud.tech" +titleHome = "Co-op Cloud" + +## Twitter Cards +twitterSite = "@Coop_Cloud" +twitterCreator = "@Coop_Cloud" + +## JSON-LD +# schemaType = "Person" +schemaType = "Organization" +schemaName = "Co-op Cloud" +schemaAuthor = "Co-op Cloud & Contributors" +schemaAuthorTwitter = "https://twitter.com/Coop_Cloud" +schemaAuthorLinkedIn = "" +schemaAuthorGitHub = "https://github.com/Coop-Cloud" +schemaLocale = "en-US" +schemaLogo = "ccsmall.png" +schemaLogoWidth = 512 +schemaLogoHeight = 512 +schemaImage = "ccsmall.png" +schemaImageWidth = 1280 +schemaImageHeight = 640 +schemaTwitter = "https://twitter.com/Coop_Cloud" +schemaLinkedIn = "" +schemaGitHub = "https://github.com/Coop_Cloud" +schemaSection = "blog" + +## Sitelinks Search Box +siteLinksSearchBox = false + +## Chrome Browser +themeColor = "#fff" + +# Images +quality = 85 +bgColor = "#fff" +landscapePhotoWidths = [900, 800, 700, 600, 500] +portraitPhotoWidths = [800, 700, 600, 500] +lqipWidth = "20x" +smallLimit = "300" + +# Footer +footer = "Hack The Planet!" + +# Feed +copyRight = "Copyleft đŸ„¯ 2021 Co-op Cloud & Contributors" + +# Alert +alert = false +alertDismissable = true +alertText = "Public interest infrastructure. An alternative to corporate clouds built by tech co-ops." + +# Edit Page +docsRepo = "https://git.coopcloud.tech/coop-cloud/beta.coopcloud.tech" +docsRepoBranch = "main" +editPage = false + +[options] + lazySizes = true + clipBoard = true + instantPage = true + flexSearch = true + darkMode = true + bootStrapJs = true + breadCrumb = false + highLight = true + kaTex = false + collapsibleSidebar = true + multilingualMode = false + docsVersioning = false diff --git a/config/postcss.config.js b/config/postcss.config.js new file mode 100644 index 0000000..5a0e028 --- /dev/null +++ b/config/postcss.config.js @@ -0,0 +1,37 @@ +const autoprefixer = require('autoprefixer'); +const purgecss = require('@fullhuman/postcss-purgecss'); +const whitelister = require('purgecss-whitelister'); + +module.exports = { + plugins: [ + autoprefixer(), + purgecss({ + content: [ + './node_modules/@hyas/doks/layouts/**/*.html', + './node_modules/@hyas/doks/content/**/*.md', + './layouts/**/*.html', + './content/**/*.md', + ], + safelist: [ + 'lazyloaded', + 'table', + 'thead', + 'tbody', + 'tr', + 'th', + 'td', + 'h5', + 'alert-link', + ...whitelister([ + './node_modules/@hyas/doks/assets/scss/common/_variables.scss', + './node_modules/@hyas/doks/assets/scss/components/_buttons.scss', + './node_modules/@hyas/doks/assets/scss/components/_code.scss', + './node_modules/@hyas/doks/assets/scss/components/_syntax.scss', + './node_modules/@hyas/doks/assets/scss/components/_search.scss', + './node_modules/@hyas/doks/assets/scss/common/_dark.scss', + './node_modules/katex/dist/katex.css', + ]), + ], + }), + ], +} diff --git a/content/en/_index.md b/content/en/_index.md new file mode 100644 index 0000000..d94b0bf --- /dev/null +++ b/content/en/_index.md @@ -0,0 +1,9 @@ +--- +title : "The Co-operative Cloud" +description: "Public interest infrastructure. An alternative to corporate clouds built by tech co-ops." +lead: "Public interest infrastructure. An alternative to corporate clouds built by tech co-ops." +date: 2020-10-06T08:47:36+00:00 +lastmod: 2020-10-06T08:47:36+00:00 +draft: false +images: [] +--- diff --git a/content/en/blog/_index.md b/content/en/blog/_index.md new file mode 100644 index 0000000..37cb611 --- /dev/null +++ b/content/en/blog/_index.md @@ -0,0 +1,8 @@ +--- +title: "Blog" +description: "The Doks Blog." +date: 2020-10-06T08:49:55+00:00 +lastmod: 2020-10-06T08:49:55+00:00 +draft: false +images: [] +--- diff --git a/content/en/blog/say-hello-to-doks/index.md b/content/en/blog/say-hello-to-doks/index.md new file mode 100644 index 0000000..e9c3185 --- /dev/null +++ b/content/en/blog/say-hello-to-doks/index.md @@ -0,0 +1,11 @@ +--- +title: "Say hello to Doks 👋" +description: "Introducing Doks, a Hugo theme helping you build modern documentation websites that are secure, fast, and SEO-ready — by default." +lead: "Introducing Doks, a Hugo theme helping you build modern documentation websites that are secure, fast, and SEO-ready — by default." +date: 2020-11-04T09:19:42+01:00 +lastmod: 2020-11-04T09:19:42+01:00 +draft: false +weight: 50 +images: ["say-hello-to-doks.png"] +contributors: ["Henk Verlinde"] +--- diff --git a/content/en/blog/say-hello-to-doks/say-hello-to-doks.png b/content/en/blog/say-hello-to-doks/say-hello-to-doks.png new file mode 100644 index 0000000..70d8c78 Binary files /dev/null and b/content/en/blog/say-hello-to-doks/say-hello-to-doks.png differ diff --git a/content/en/contact/index.md b/content/en/contact/index.md new file mode 100644 index 0000000..795089f --- /dev/null +++ b/content/en/contact/index.md @@ -0,0 +1,10 @@ +--- +title: "Contact" +description: "Drop us an email." +date: 2020-08-27T19:25:12+02:00 +lastmod: 2020-08-27T19:25:12+02:00 +draft: true +images: [] +--- + +{{< email user="hello" domain="getdoks.org" >}} diff --git a/content/en/docs/_index.md b/content/en/docs/_index.md new file mode 100644 index 0000000..cce9173 --- /dev/null +++ b/content/en/docs/_index.md @@ -0,0 +1,9 @@ +--- +title : "Co-op Cloud Documentation" +description: "" +lead: "" +date: 2020-10-06T08:48:23+00:00 +lastmod: 2020-10-06T08:48:23+00:00 +draft: false +images: [] +--- diff --git a/content/en/docs/get-started/_index.md b/content/en/docs/get-started/_index.md new file mode 100644 index 0000000..b2f9385 --- /dev/null +++ b/content/en/docs/get-started/_index.md @@ -0,0 +1,9 @@ +--- +title: "Get Started" +description: "" +lead: "" +date: 2020-10-06T08:49:15+00:00 +lastmod: 2020-10-06T08:49:15+00:00 +draft: false +images: [] +--- diff --git a/content/en/docs/get-started/intro.md b/content/en/docs/get-started/intro.md new file mode 100644 index 0000000..9d83aa9 --- /dev/null +++ b/content/en/docs/get-started/intro.md @@ -0,0 +1,15 @@ +--- +title: "Introduction" +description: "bar." +lead: "bar." +date: 2020-10-06T08:48:57+00:00 +lastmod: 2020-10-06T08:48:57+00:00 +draft: false +images: [] +menu: + docs: + parent: "get-started" +weight: 100 +toc: true +--- + diff --git a/content/en/docs/help/_index.md b/content/en/docs/help/_index.md new file mode 100644 index 0000000..918bd84 --- /dev/null +++ b/content/en/docs/help/_index.md @@ -0,0 +1,9 @@ +--- +title: "Help" +description: "" +lead: "" +date: 2020-10-06T08:49:15+00:00 +lastmod: 2020-10-06T08:49:15+00:00 +draft: false +images: [] +--- diff --git a/content/en/docs/help/contact.md b/content/en/docs/help/contact.md new file mode 100644 index 0000000..a091de9 --- /dev/null +++ b/content/en/docs/help/contact.md @@ -0,0 +1,40 @@ +--- +title: "Contact" +description: "How to get in touch" +lead: "How to get in touch" +date: 2020-11-12T15:22:20+01:00 +lastmod: 2020-11-12T15:22:20+01:00 +draft: false +images: [] +menu: + docs: + parent: "help" +weight: 620 +toc: true +--- + +## Chat + +We have a [Matrix space](https://matrix.org/blog/2021/05/17/the-matrix-space-beta) which you can join via [this link](https://matrix.to/#/!xSMwGbdVehScXcIFwS:autonomic.zone?via=autonomic.zone&via=matrix.org&via=1312.media). + +The rooms within this space are as follows: + +- [`#coopcloud:autonomic.zone`](https://matrix.to/#/#coopcloud:autonomic.zone) +- [`#coopcloud-tech:autonomic.zone`](https://matrix.to/#/#coopcloud-tech:autonomic.zone) +- [`#coopcloud-dev:autonomic.zone`](https://matrix.to/#/#coopcloud-dev:autonomic.zone) +- [`#coopcloud-finance`](https://matrix.to/#/#coopcloud-finance:autonomic.zone) +- [`#coopcloud-design`](https://matrix.to/#/#coopcloud-design:autonomic.zone) +- [`#coopcloud-comm-org`](https://matrix.to/#/#coopcloud-comm-org:autonomic.zone) +- [`#coopcloud-/dev/null:autonomic.zone`](https://matrix.to/#/#coopcloud-/dev/null:autonomic.zone) + +## Email + +> [`helo@coopcloud.tech`](mailto:helo@coopcloud.tech) + +## Mastodon + +> [`social.coop/@coopcloud`](https://social.coop/@coopcloud) + +## Forum + +> [`community.coops.tech`](https://community.coops.tech/c/tech/coop-cloud/36) diff --git a/content/en/docs/help/faq.md b/content/en/docs/help/faq.md new file mode 100644 index 0000000..f351ab5 --- /dev/null +++ b/content/en/docs/help/faq.md @@ -0,0 +1,16 @@ +--- +title: "FAQ" +description: "Answers to frequently asked questions." +lead: "Answers to frequently asked questions." +date: 2020-10-06T08:49:31+00:00 +lastmod: 2020-10-06T08:49:31+00:00 +draft: false +images: [] +menu: + docs: + parent: "help" +weight: 630 +toc: true +--- + +Bar. diff --git a/images/ccsmall.png b/images/ccsmall.png new file mode 100644 index 0000000..fe78d67 Binary files /dev/null and b/images/ccsmall.png differ diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..cdae0ab --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,62 @@ +{{ define "main" }} +
+
+
+

{{ .Title }}

+
+
+

{{ .Params.lead | safeHTML }}

+ Get Started +

Still beta software. Beta as fuck.

+
+
+
+{{ end }} + +{{ define "sidebar-prefooter" }} +
+
+
+
+

Collaborative

+

Democratic development process, centred on libre software licenses, community governance and a configuration commons.

+
+ +
+

Simple

+

Quick, flexible, and intuitive with low resource requirements, minimal overhead, and extensive documentation.

+
+ +
+

Private

+

Control your hosting: use on-premise or virtual servers to suit your needs. Encryption as standard.

+
+ +
+
+
+

Transparent

+

Following established open standards, best practices, and builds on existing tools.

+
+
+

$another_reason

+

$another_description

+
+
+

$another_reason

+

$another_description

+
+
+
+
+{{ end }} + +{{ define "sidebar-footer" }} +
+
+
+ {{- .Content -}} +
+
+
+{{ end }} diff --git a/package.json b/package.json new file mode 100644 index 0000000..60c71af --- /dev/null +++ b/package.json @@ -0,0 +1,66 @@ +{ + "name": "doks-child-theme", + "description": "Doks child theme", + "version": "0.3.5", + "browserslist": [ + "defaults" + ], + "repository": "https://github.com/h-enk/doks", + "license": "MIT", + "publishConfig": { + "access": "public" + }, + "scripts": { + "init": "shx rm -rf .git && git init -b main", + "create": "exec-bin node_modules/.bin/hugo/hugo new", + "prestart": "npm run clean", + "start": "exec-bin node_modules/.bin/hugo/hugo server --bind=0.0.0.0 --disableFastRender", + "prebuild": "npm run clean", + "build": "exec-bin node_modules/.bin/hugo/hugo --gc --minify", + "build:preview": "npm run build -D -F", + "clean": "shx rm -rf public resources", + "clean:install": "shx rm -rf package-lock.json node_modules ", + "lint": "npm run -s lint:scripts && npm run -s lint:styles && npm run -s lint:markdown", + "lint:scripts": "eslint assets/js config functions", + "lint:styles": "stylelint \"assets/scss/**/*.{css,sass,scss,sss,less}\"", + "lint:markdown": "markdownlint \"*.md\" \"content/**/*.md\"", + "server": "exec-bin node_modules/.bin/hugo/hugo server", + "test": "npm run -s lint", + "env": "env", + "precheck": "npm version", + "check": "exec-bin node_modules/.bin/hugo/hugo version", + "copy:katex-fonts": "shx cp ./node_modules/katex/dist/fonts/* ./static/fonts/", + "postinstall": "hugo-installer --version otherDependencies.hugo --extended --destination node_modules/.bin/hugo", + "version": "auto-changelog -p && git add CHANGELOG.md" + }, + "devDependencies": { + "@babel/cli": "^7.15", + "@babel/core": "^7.15", + "@babel/preset-env": "^7.15", + "@fullhuman/postcss-purgecss": "^4.0", + "@hyas/doks": "^0.3", + "auto-changelog": "^2.3.0", + "autoprefixer": "^10.3", + "bootstrap": "^5.1", + "clipboard": "^2.0", + "eslint": "^7.32", + "exec-bin": "^1.0.0", + "hugo-installer": "^3.1", + "flexsearch": "^0.7.21", + "highlight.js": "^11.2", + "instant.page": "^5.1", + "katex": "^0.13", + "lazysizes": "^5.3", + "markdownlint-cli": "^0.29", + "mermaid": "^8.13", + "postcss": "^8.3", + "postcss-cli": "^9.0", + "purgecss-whitelister": "^2.4", + "shx": "^0.3.3", + "stylelint": "^13.13", + "stylelint-config-standard": "^22.0" + }, + "otherDependencies": { + "hugo": "0.88.1" + } +}