Skip to content

Commit

Permalink
fix(baseline): Reorganization of documents.
Browse files Browse the repository at this point in the history
  • Loading branch information
himerus committed Nov 8, 2023
1 parent a9638ee commit 0176860
Show file tree
Hide file tree
Showing 26 changed files with 27 additions and 96 deletions.
20 changes: 6 additions & 14 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
import { dirname, join } from 'path';
//const outlineConfig = require('../outline.config');

module.exports = {
stories: [
// Intentionally ordering welcome page first.
'../packages/documentation/outline-docs/src/guides/welcome.mdx',
'../packages/documentation/outline-docs/src/guides/welcome/00-welcome.mdx',
'../packages/documentation/outline-docs/src/guides/welcome/more-information/*.mdx',
// Tooling usage guides.
'../packages/documentation/outline-docs/src/guides/development/tooling/**/*.mdx',
// Component development guides.
'../packages/documentation/outline-docs/src/guides/development/component-development/**/*.mdx',
// Component usage guides.
'../packages/documentation/outline-docs/src/guides/consumers/**/*.mdx',
// QA/UAT usage guides.
'../packages/documentation/outline-docs/src/guides/qa-uat/**/*.mdx',
// Tooling usage guides.
'../packages/documentation/outline-docs/src/guides/tooling/**/*.mdx',
// Documentation stories.
'../packages/documentation/outline-docs/src/guides/**/*.@(js|ts|mdx)',
// Modern component stories.
Expand All @@ -31,18 +27,14 @@ module.exports = {
storyStoreV7: true,
postcss: true,
buildStoriesJson: true,
modernInlineRender: true,
modernInlineRender: false,
},
framework: {
name: getAbsolutePath('@storybook/web-components-vite'),
name: '@storybook/web-components-vite',
options: {},
},
docs: {
autodocs: true,
defaultName: 'Documentation', // set to change the name of generated docs entries
},
};

function getAbsolutePath(value) {
return dirname(require.resolve(join(value, 'package.json')));
}
6 changes: 2 additions & 4 deletions .storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,13 @@ export const parameters = {
options: {
storySort: {
order: [
'Getting Started',
'Documentation',
'Design Tokens',
'Welcome Guide',
'Coding Guide',
'Media',
'Navigation',
'Content',
'Templates',
'Pages',
'Code Examples',
'Utility Components',
],
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Meta } from '@storybook/addon-docs';
import '@phase2/outline-core-alert';

<Meta
title="Documentation/Component Development/Coding Guide & Standards"
title="Coding Guide/Component Development"
parameters={{
viewMode: 'docs',
previewTabs: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Meta } from '@storybook/addon-docs';
import '@phase2/outline-core-alert';

<Meta
title="Documentation/Component Development/Coding Guide & Standards/Component Structure"
title="Coding Guide/Component Development/Component Structure"
parameters={{
viewMode: 'docs',
previewTabs: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Meta } from '@storybook/addon-docs';
import '@phase2/outline-core-alert';

<Meta
title="Documentation/Component Development/Coding Guide & Standards/Styling"
title="Coding Guide/Component Development/Styling"
parameters={{
viewMode: 'docs',
previewTabs: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Meta } from '@storybook/addon-docs';
import '@phase2/outline-core-alert';

<Meta
title="Documentation/Component Development/Coding Guide & Standards/Controllers"
title="Coding Guide/Component Development/Controllers"
parameters={{
viewMode: 'docs',
previewTabs: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Meta } from '@storybook/addon-docs';
import '@phase2/outline-core-alert';

<Meta
title="Documentation/Component Development/Coding Guide & Standards/Render"
title="Coding Guide/Component Development/Render"
parameters={{
viewMode: 'docs',
previewTabs: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Meta } from '@storybook/addon-docs';
import '@phase2/outline-core-alert';

<Meta
title="Documentation/Component Development/Coding Guide & Standards/Properties"
title="Coding Guide/Component Development/Properties"
parameters={{
viewMode: 'docs',
previewTabs: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Meta } from '@storybook/addon-docs';
import '@phase2/outline-core-alert';

<Meta
title="Documentation/Component Development/Coding Guide & Standards/Slots"
title="Coding Guide/Component Development/Slots"
parameters={{
viewMode: 'docs',
previewTabs: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Meta } from '@storybook/addon-docs';
import '@phase2/outline-core-alert';

<Meta
title="Documentation/Component Development/Coding Guide & Standards/Lifecycle"
title="Coding Guide/Component Development/Lifecycle"
parameters={{
viewMode: 'docs',
previewTabs: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Meta } from '@storybook/addon-docs';
import '@phase2/outline-core-alert';

<Meta
title="Documentation/Component Development/Coding Guide & Standards/Event Handlers"
title="Coding Guide/Component Development/Event Handlers"
parameters={{
viewMode: 'docs',
previewTabs: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Meta } from '@storybook/addon-docs';
import '@phase2/outline-core-alert';

<Meta
title="Documentation/Component Development/Coding Guide & Standards/Utility Functions"
title="Coding Guide/Component Development/Utility Functions"
parameters={{
viewMode: 'docs',
previewTabs: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Meta } from '@storybook/addon-docs';
import '@phase2/outline-core-alert';

<Meta
title="Documentation/Component Development/Coding Guide & Standards/Extending Components"
title="Coding Guide/Component Development/Extending Components"
parameters={{
viewMode: 'docs',
previewTabs: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Meta } from '@storybook/addon-docs';
import '@phase2/outline-core-alert';

<Meta
title="Documentation/Tooling & Commands/About Outline"
title="Coding Guide/Tooling/About Outline"
parameters={{
viewMode: 'docs',
previewTabs: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Meta } from '@storybook/addon-docs';
import '@phase2/outline-core-alert';

<Meta
title="Documentation/Tooling & Commands/Helpful Commands"
title="Coding Guide/Tooling/Helpful Commands"
parameters={{
viewMode: 'docs',
previewTabs: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Meta } from '@storybook/addon-docs';
import '@phase2/outline-core-alert';

<Meta
title="Documentation/Tooling & Commands/Conventional Commits"
title="Coding Guide/Tooling/Conventional Commits"
parameters={{
viewMode: 'docs',
previewTabs: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Meta } from '@storybook/addon-docs';
import '@phase2/outline-core-alert';

<Meta
title="Documentation/Tooling & Commands/Production Builds"
title="Coding Guide/Tooling/Production Builds"
parameters={{
viewMode: 'docs',
previewTabs: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Meta } from '@storybook/addon-docs';
import '@phase2/outline-core-alert';

<Meta
title="Documentation/Tooling & Commands/Versioning with Changesets"
title="Coding Guide/Tooling/Versioning with Changesets"
parameters={{
viewMode: 'docs',
previewTabs: {
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Meta } from '@storybook/addon-docs';
import '@phase2/outline-core-alert';

<Meta
title="Documentation/Welcome"
title="Welcome Guide/Welcome"
parameters={{
viewMode: 'docs',
previewTabs: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Meta } from '@storybook/addon-docs';
import '@phase2/outline-core-alert';

<Meta
title="Documentation/Component Development/Resources"
title="Welcome Guide/More Information/Resources"
parameters={{
viewMode: 'docs',
previewTabs: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Meta } from '@storybook/addon-docs';
import '@phase2/outline-core-alert';

<Meta
title="Documentation/Tooling & Commands/Contributing to Outline"
title="Welcome Guide/More Information/Contributing to Outline"
parameters={{
viewMode: 'docs',
previewTabs: {
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 0176860

Please sign in to comment.