1
1
mirror of https://github.com/primer/css.git synced 2024-11-13 08:04:16 +03:00

chore: rename src/ -> docs/

This commit is contained in:
Shawn Allen 2019-02-04 13:04:24 -08:00
parent be1aa271e0
commit cdfc908040
33 changed files with 11 additions and 11 deletions

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

Before

Width:  |  Height:  |  Size: 94 KiB

After

Width:  |  Height:  |  Size: 94 KiB

View File

Before

Width:  |  Height:  |  Size: 812 B

After

Width:  |  Height:  |  Size: 812 B

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -3,10 +3,10 @@ import App, {Container} from 'next/app'
import {MDXProvider} from '@mdx-js/tag'
import Head from 'next/head'
import {BaseStyles, BorderBox, Box, Flex, theme} from '@primer/components'
import {Header, PackageHeader, SideNav} from '../src/components'
import getComponents from '../src/markdown'
import {config, requirePage, rootPage} from '../src/utils'
import {CONTENT_MAX_WIDTH} from '../src/constants'
import {Header, PackageHeader, SideNav} from '../docs/components'
import getComponents from '../docs/markdown'
import {config, requirePage, rootPage} from '../docs/utils'
import {CONTENT_MAX_WIDTH} from '../docs/constants'
import 'primer/index.scss'

View File

@ -1,7 +1,7 @@
import React from 'react'
import Document, {Head, Main, NextScript} from 'next/document'
import {ServerStyleSheet} from 'styled-components'
import {getAssetPath, CommonStyles, CommonScripts} from '../src/utils'
import {getAssetPath, CommonStyles, CommonScripts} from '../docs/utils'
export default class MyDocument extends Document {
static getInitialProps({renderPage}) {

View File

@ -7,7 +7,7 @@ symbols: [Box--overlay, Box-header, Box-overlay--narrow, Box-overlay--wide]
keywords: [box, overlay]
---
import DetailsDialog from '../../../src/DetailsDialog'
import DetailsDialog from '../../../docs/DetailsDialog'
## Box overlays
Use the `Box--overlay` with the `<details>` and [`<details-dialog>`](https://github.com/github/details-dialog), and add the `details-overlay-dark` utility if you wish to apply a dark transparent background.

View File

@ -5,8 +5,8 @@ import {
PrimerPackageBox,
PrimitivesOverview,
StylesOverview
} from '../../src/landing'
import {CONTENT_MAX_WIDTH} from '../../src/constants'
} from '../../docs/landing'
import {CONTENT_MAX_WIDTH} from '../../docs/constants'
import {name, version} from '../../package.json'
import packages from './packages.json'

View File

@ -2,7 +2,7 @@
title: Status key
---
import StatusLabel from '../../src/StatusLabel'
import StatusLabel from '../../docs/StatusLabel'
Primer is constantly evolving and we have many styles to refactor and bring up to standard. The status of each package is shown with it's corresponding documentation so you can be confident which styles are safe to use.

View File

@ -10,7 +10,7 @@ package:
---
import {BorderBox, Box, Flex, Heading, Text} from '@primer/components'
import {ColorPalette, ColorVariables} from '../../../src/color-system'
import {ColorPalette, ColorVariables} from '../../../docs/color-system'
{:toc}

View File

@ -1,2 +1,2 @@
import redirect from '../src/redirect'
import redirect from '../docs/redirect'
export default redirect('/css')