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

updates #1

Merged
merged 11 commits into from
Aug 24, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
Prev Previous commit
Next Next commit
feat: init docs
  • Loading branch information
kiliantyler committed Aug 24, 2024
commit 909a1221cc39219c12c3b3b9d04560d317e2b9ab
11 changes: 11 additions & 0 deletions .taskfiles/docs/Taskfile.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: "3"

Check failure on line 1 in .taskfiles/docs/Taskfile.yaml

View check run for this annotation

Trunk.io / Trunk Check

trunk-yls(no-comment)

[new] No YLS Comment found beginning document

vars:
DocsDir: "/docs"

tasks:
serve:
desc: "Start the Docusaurus development server"
cmds:
- npm run start
dir: "{{.DocsDir}}"
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ task 3.38.0
trunk 1.22.3
1password-cli 2.30.0
age 1.2.0
nodejs 22.5.1
2 changes: 1 addition & 1 deletion .trunk/trunk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ actions:
- trunk-upgrade-available
tools:
enabled:
- action-validator@0.6.0
- action-validator@0.6.0
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -222,4 +222,4 @@
"**/.trunk/*tmp/": true,
"**/.trunk/*tools/": true,
},
}
}
3 changes: 3 additions & 0 deletions Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ includes:
ansible:
taskfile: ".taskfiles/ansible/Taskfile.yaml"
aliases: [a]
docusaurus:
taskfile: ".taskfiles/docs/Taskfile.yaml"
aliases: [d, docs]

tasks:
default:
Expand Down
2,247 changes: 2,247 additions & 0 deletions assets/Dotfiles Logo.ai

Large diffs are not rendered by default.

Binary file added assets/PNG/Dotfiles Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/PNG/Dotfiles Logo@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/PNG/Dotfiles Logo@3x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/PNG/Dotfiles Logo@4x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/PNG/Icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/PNG/Icon@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/PNG/Icon@3x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/PNG/Icon@4x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/PNG/Vertical Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/PNG/Vertical Logo@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/PNG/Vertical Logo@3x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/PNG/Vertical Logo@4x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 33 additions & 0 deletions assets/SVG/Dotfiles Logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 33 additions & 0 deletions assets/SVG/Vertical Logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/WebP/Dotfiles Logo.webp
Binary file not shown.
Binary file added assets/WebP/Dotfiles Logo@2x.webp
Binary file not shown.
Binary file added assets/WebP/Dotfiles Logo@3x.webp
Binary file not shown.
Binary file added assets/WebP/Dotfiles Logo@4x.webp
Binary file not shown.
Binary file added assets/WebP/Icon.webp
Binary file not shown.
Binary file added assets/WebP/Icon@2x.webp
Binary file not shown.
Binary file added assets/WebP/Icon@3x.webp
Binary file not shown.
Binary file added assets/WebP/Icon@4x.webp
Binary file not shown.
Binary file added assets/WebP/Vertical Logo.webp
Binary file not shown.
Binary file added assets/WebP/Vertical Logo@2x.webp
Binary file not shown.
Binary file added assets/WebP/Vertical Logo@3x.webp
Binary file not shown.
Binary file added assets/WebP/Vertical Logo@4x.webp
Binary file not shown.
87 changes: 0 additions & 87 deletions docs/Programs.md

This file was deleted.

26 changes: 0 additions & 26 deletions docs/SetupOrder.md

This file was deleted.

3 changes: 3 additions & 0 deletions docs/babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
presets: [require.resolve('@docusaurus/core/lib/babel/preset')],
};
8 changes: 8 additions & 0 deletions docs/blog/authors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
kilian:

Check failure on line 1 in docs/blog/authors.yml

View check run for this annotation

Trunk.io / Trunk Check

trunk-yls(no-comment)

[new] No YLS Comment found beginning document
name: Kilian Tyler
title: Dotfiles Enthusiast
url: https://github.com/kiliantyler
image_url: https://github.com/kiliantyler.png
page: true
socials:
github: kiliantyler
4 changes: 4 additions & 0 deletions docs/blog/tags.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
hello:

Check failure on line 1 in docs/blog/tags.yml

View check run for this annotation

Trunk.io / Trunk Check

trunk-yls(no-comment)

[new] No YLS Comment found beginning document
label: Hello
permalink: /hello
description: Hello tag description
112 changes: 112 additions & 0 deletions docs/docusaurus.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
import type * as Preset from '@docusaurus/preset-classic';
import type { Config } from '@docusaurus/types';
import { themes as prismThemes } from 'prism-react-renderer';

const config: Config = {
title: 'Dotfiles',
tagline: 'One-stop shop for my dotfiles',
favicon: 'img/favicon.ico',

url: 'https://dotfiles.kiliantyler.com',
baseUrl: '/',
organizationName: 'kiliantyler',
projectName: 'dotfiles',
deploymentBranch: 'gh-pages',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
i18n: {
defaultLocale: 'en',
locales: ['en'],
},

presets: [
[
'classic',
{
docs: {
routeBasePath: '/wiki',
path: './wiki',
sidebarPath: './sidebars.ts',
},
blog: false, // Disable for now
// blog: {
// showReadingTime: true,
// feedOptions: {
// type: ['rss', 'atom'],
// xslt: true,
// },
// // Please change this to your repo.
// // Remove this to remove the "edit this page" links.
// editUrl:
// 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
// // Useful options to enforce blogging best practices
// onInlineTags: 'warn',
// onInlineAuthors: 'warn',
// onUntruncatedBlogPosts: 'warn',
// },
theme: {
customCss: './src/css/custom.css',
},
} satisfies Preset.Options,
],
],

themeConfig: {
image: 'img/social-card.png',
navbar: {
title: 'Dotfiles',
logo: {
alt: 'Dotfiles Logo',
src: 'img/logo.svg',
},
items: [
{
type: 'docSidebar',
sidebarId: 'tutorialSidebar',
position: 'left',
label: 'Wiki',
},
// {to: '/blog', label: 'Blog', position: 'left'}, // Disable for now
{
href: 'https://github.com/kiliantyler/dotfiles',
label: 'GitHub',
position: 'right',
},
],
},
footer: {
style: 'dark',
links: [
{
title: 'Wiki',
items: [
{
label: 'Dotfiles',
to: '/wiki/intro',
},
],
},
{
title: 'More',
items: [
// {
// label: 'Blog',
// to: '/blog',
// },
{
label: 'GitHub',
href: 'https://github.com/kiliantyler/dotfiles',
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} Kilian Tyler. Built with Docusaurus.`,
},
prism: {
theme: prismThemes.github,
darkTheme: prismThemes.dracula,
},
} satisfies Preset.ThemeConfig,
};

export default config;
Loading
Loading