-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prepare docs application with minimal Narval brand (#211)
* Configure docs with Narval brand Rename project from documentation to docs. * Fix home page
- Loading branch information
1 parent
b2a5901
commit e686215
Showing
54 changed files
with
458 additions
and
1,611 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
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,4 @@ | ||
DOCS_PROJECT_NAME := docs | ||
|
||
docs/start/dev: | ||
npx nx serve ${DOCS_PROJECT_NAME} --verbose |
File renamed without changes.
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,4 @@ | ||
{ | ||
"label": "Getting Started", | ||
"position": 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,12 @@ | ||
--- | ||
id: home | ||
sidebar_position: 0 | ||
sidebar_class_name: display-none | ||
title: Introduction | ||
hide_title: true | ||
hide_table_of_contents: true | ||
custom_edit_url: null | ||
pagination_next: null | ||
--- | ||
|
||
TBD |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
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,64 @@ | ||
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: 'Armory - Documentation', | ||
tagline: 'Unicorn whales are cool', | ||
favicon: 'img/favicon.ico', | ||
|
||
url: 'https://docs.narval.xyz', | ||
baseUrl: '/', | ||
|
||
organizationName: 'narval-xyz', | ||
projectName: 'armory', | ||
|
||
onBrokenLinks: 'throw', | ||
onBrokenMarkdownLinks: 'warn', | ||
|
||
i18n: { | ||
defaultLocale: 'en', | ||
locales: ['en'] | ||
}, | ||
|
||
presets: [ | ||
[ | ||
'classic', | ||
{ | ||
docs: { | ||
routeBasePath: '/', | ||
sidebarPath: './sidebars.ts' | ||
}, | ||
blog: false, | ||
theme: { | ||
customCss: './src/css/custom.css' | ||
} | ||
} satisfies Preset.Options | ||
] | ||
], | ||
|
||
themeConfig: { | ||
image: 'img/docusaurus-social-card.jpg', | ||
navbar: { | ||
title: 'for Developers', | ||
logo: { | ||
alt: 'Narval logo', | ||
src: 'img/logo.svg', | ||
srcDark: 'img/logo-white.svg' | ||
}, | ||
items: [ | ||
{ | ||
href: 'https://github.com/narval-xyz', | ||
label: 'GitHub', | ||
position: 'right' | ||
} | ||
] | ||
}, | ||
prism: { | ||
theme: prismThemes.github, | ||
darkTheme: prismThemes.dracula | ||
} | ||
} satisfies Preset.ThemeConfig | ||
} | ||
|
||
export default config |
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,7 @@ | ||
import type { SidebarsConfig } from '@docusaurus/plugin-content-docs' | ||
|
||
const sidebars: SidebarsConfig = { | ||
docsSiderbar: [{ type: 'autogenerated', dirName: '.' }] | ||
} | ||
|
||
export default sidebars |
File renamed without changes.
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,53 @@ | ||
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap'); | ||
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap'); | ||
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono&display=swap'); | ||
|
||
/* You can override the default Infima variables here. */ | ||
:root { | ||
--ifm-global-radius: 8px; | ||
--ifm-code-font-size: 14px; | ||
--ifm-font-family-base: 'Inter', BlinkMacSystemFont, -apple-system, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', | ||
'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif; | ||
--ifm-font-family-monospace: 'Roboto Mono', SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', | ||
monospace; | ||
--ifm-font-size-base: 14px; | ||
--ifm-base-spacing: 14px; | ||
--ifm-line-height-base: 145%; | ||
--ifm-font-weight-base: var(--twenty-body-regular-font-weight); | ||
--ifm-color-primary: #11181c; | ||
--ifm-code-font-size: 95%; | ||
--docsearch-key-gradient: none !important; | ||
--docsearch-key-shadow: 0 0 0 0.5px var(--docsearch-muted-color) !important; | ||
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1); | ||
--ifm-toc-padding-vertical: 0.5rem; | ||
--ifm-breadcrumb-border-radius: 8px; | ||
--ifm-navbar-link-color: #687076; | ||
--ifm-link-decoration: underline; | ||
|
||
--ifm-heading-font-weight: 600; | ||
|
||
--ifm-h1-font-size: 1.7rem !important; | ||
--ifm-h2-font-size: 1.25rem !important; | ||
--ifm-h3-font-size: 1rem !important; | ||
--ifm-h4-font-size: 0.875rem !important; | ||
--ifm-h5-font-size: 0.85rem !important; | ||
|
||
--ifm-spacing-horizontal: 2rem; | ||
|
||
--ifm-menu-link-padding-vertical: 0.2rem; | ||
|
||
--list-items-border-color: #ebebeb; | ||
--category-icon-background-color: #ebebeb; | ||
--category-icon-border-color: #d6d6d6; | ||
--level-1-color: #b3b3b3; | ||
} | ||
|
||
/* For readability concerns, you should choose a lighter palette in dark mode. */ | ||
[data-theme='dark'] { | ||
--ifm-color-primary: #fff; | ||
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3); | ||
--list-items-border-color: #292929; | ||
--category-icon-background-color: #292929; | ||
--category-icon-border-color: #333333; | ||
--level-1-color: #666666; | ||
} |
File renamed without changes.
File renamed without changes
File renamed without changes
Binary file not shown.
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.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-93.9 KB
apps/documentation/blog/2021-08-26-welcome/docusaurus-plushie-banner.jpeg
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.