TheoryOfNekomata
d2bd2b79cd
Create in-house documentation scaffolding
Use create-next-app to bootstrap documentation.
il y a 3 ans
TheoryOfNekomata
f31c76492d
Migrate to pridepack, reorganize documentation
The build system has been migrated from rollup to pridepack, and the
propTypes for the components have been deprecated, as the prop typing is
now done in TypeScript type declarations.
The documentation is in the process of migration from Next to Storybook.
Issues with docgen remain for components with forwarded refs.
il y a 3 ans
TheoryOfNekomata
fca1838487
Add value props, fix styling of docs page
Add value, defaultValue, and checked props to appropriate elements.
Add link to Feather Icons for the Icon component.
The styling of TextInput docs has been fixed.
il y a 3 ans
TheoryOfNekomata
e50eb72ecb
Improve compatibility of docs, theme
Test docs against Lynx, also make docs print-friendly.
il y a 3 ans
TheoryOfNekomata
307b480705
Fix font declarations
Fix mononoki italic font-face declarations
il y a 3 ans
TheoryOfNekomata
ded5fbf377
Adjust brand
Use thinner weight for version number
il y a 3 ans
TheoryOfNekomata
73c8f7d028
Implement variable fonts, print styles
Use Encode Sans variable axes from Google Fonts. Also specified code blocks and images to be grayscale in print mode.
il y a 3 ans
TheoryOfNekomata
8310ded3d7
Improve links
Use Next.js router links instead of the ordinary `<a>` tags.
il y a 3 ans
TheoryOfNekomata
c62c0deb5a
Improve documentation
Parse descriptions as Markdown. Also improve loading of current theme.
il y a 3 ans
TheoryOfNekomata
c4413725cc
Hide empty cells in prop table
Remove awkward space when no default value is specified in the prop definition.
il y a 3 ans
TheoryOfNekomata
bfb49948d5
Improve font loading
Include web fonts in loading.
il y a 3 ans
TheoryOfNekomata
50ea1b6366
Make theme toggle smooth
Add compatibility for a smoother transition of themes.
il y a 3 ans
TheoryOfNekomata
db7ee9046a
Adjust theme
Set colors for dark and light theme.
il y a 3 ans
TheoryOfNekomata
129dc6b31b
Fix rel
il y a 3 ans
TheoryOfNekomata
48881294f8
Fix stylesheet toggle
Use rel attributes to specify currently selected theme.
il y a 3 ans
TheoryOfNekomata
65d4b3334e
Improve look and feel
Add syntax highlighting + improved props table.
il y a 3 ans
TheoryOfNekomata
1b17751ebe
Remove trailing slash
il y a 3 ans
TheoryOfNekomata
bfe89bddf6
Add trailing slash
il y a 3 ans
TheoryOfNekomata
6dfaa99c15
Fix routes
Return basePath, use public URL for CSS.
il y a 3 ans
TheoryOfNekomata
c79d07b5a2
Modify next config
Test some stuff...
il y a 3 ans
TheoryOfNekomata
c88efc4b3d
Set base path
Use base path for domain.
il y a 3 ans
TheoryOfNekomata
7cbb51481e
Prepare for building
Prepare requirements for Next to build the documentation.
il y a 3 ans
TheoryOfNekomata
1166e17118
Improve navigation on mobile
Make sidebar toggleable on mobile.
il y a 3 ans
TheoryOfNekomata
825249c3c6
Update docs
Make docs use the latest (bleeding edge) of the components by importing them directly.
il y a 3 ans
TheoryOfNekomata
489dcfd2dc
Add props parsing
Display prop table in each component's props section
il y a 4 ans
TheoryOfNekomata
17411a44b1
Add pascal-case
Peer dependency required for components with icons.
il y a 4 ans
TheoryOfNekomata
386f5a365b
Update directory structure, generator code
Use src/ for react-common source
TODO: put other package-related files in packages/react-common/
il y a 4 ans
TheoryOfNekomata
47a5ee040d
Improve styling
il y a 4 ans
TheoryOfNekomata
36954ed21c
Add Next.js + MDX support
Implement Next.js MDX
Separate the docs from the code and tests.
il y a 4 ans