Skip to content

Commit

Permalink
setup simple doc template with vuepress
Browse files Browse the repository at this point in the history
  • Loading branch information
jinkang-0 committed May 16, 2024
1 parent cc19672 commit 9b6ad88
Show file tree
Hide file tree
Showing 12 changed files with 3,564 additions and 600 deletions.
6 changes: 6 additions & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# VuePress default temp directory
.vuepress/.temp
# VuePress default cache directory
.vuepress/.cache
# VuePress default build output directory
.vuepress/dist
25 changes: 25 additions & 0 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import { viteBundler } from '@vuepress/bundler-vite';
import { defaultTheme } from '@vuepress/theme-default';
import { defineUserConfig } from 'vuepress';

const globalNavbar = [
{ text: 'Home', link: '/' },
{ text: 'Admin Guide', link: '/admin/' },
{ text: 'Developer Docs', link: '/dev/' },
{ text: 'Design Prototypes', link: '/design/' },
];

export default defineUserConfig({
title: 'Immigration Justice Project',
description:
'Documentation for the user portal developed by Cal Blueprint for the Immigration Justice Project.',
bundler: viteBundler(),
theme: defaultTheme({
repo: 'calblueprint/immigration-justice-project',
docsDir: 'docs',
docsBranch: 'docs',
editLinkText: 'Edit this page on GitHub',
editLink: true,
navbar: globalNavbar,
}),
});
Binary file added docs/.vuepress/public/favicon.ico
Binary file not shown.
Binary file added docs/.vuepress/public/ijp_logo_white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
home: true
---
1 change: 1 addition & 0 deletions docs/admin/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Admins
1 change: 1 addition & 0 deletions docs/backend/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Supabase Backend
1 change: 1 addition & 0 deletions docs/design/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Design
1 change: 1 addition & 0 deletions docs/dev/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Developer Docs
2 changes: 2 additions & 0 deletions docs/user-portal/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# User Portal

Loading

0 comments on commit 9b6ad88

Please sign in to comment.