Giter Club home page Giter Club logo

docz-website's Introduction

docz-website

Docz theme build for docz site!

Installation and usage

Just install the dependencies, then run Docz devserver to make changes!

yarn install
yarn dev

The website will be available at http://localhost:3000.

After you make your changes, please send me a pull request!

๐Ÿค“

docz-website's People

Contributors

abdullahtariq1171 avatar arthurdenner avatar dependabot[bot] avatar draperunner avatar f0urfingeredfish avatar franxois avatar gasp avatar hasparus avatar jumpalottahigh avatar keisans avatar macklinu avatar marceloavf avatar mdecorte avatar mickaelzhang avatar mrcelo avatar muraliprajapati avatar nathsimpson avatar nejcm avatar nicholasess avatar patricksevat avatar pedronauck avatar pietrofxq avatar rakannimer avatar renatobenks avatar renatorib avatar samfleming avatar selbekk avatar skovy avatar stramel avatar swyxio avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

docz-website's Issues

Document new menu system

It's not included in the API reference or in the guide. I was able to figure it out for the most part but I'd like to have something to refer to for myself and other developers.

Error when running dev script

Tried to run the dev script, but got this error:

ERROR  Failed to compile with 14 errors                                                                                                                                    19:20:11
These dependencies were not found:

* docs  hemesindex.mdx in ./.docz/app/imports.js
* docsdocumentationindex.mdx in ./.docz/app/imports.js
* docsdocumentationpagescomponents-apiindex.mdx in ./.docz/app/imports.js
* docsdocumentationpagescreating-pluginsindex.mdx in ./.docz/app/imports.js
* docsdocumentationpagescreating-themesindex.mdx in ./.docz/app/imports.js
* docsdocumentationpagesproject-configurationindex.mdx in ./.docz/app/imports.js
* docshomeindex.mdx in ./.docz/app/imports.js
* docsintroductionindex.mdx in ./.docz/app/imports.js
* docsintroductionpagescustomizingindex.mdx in ./.docz/app/imports.js
* docsintroductionpagesdeploying-your-docsindex.mdx in ./.docz/app/imports.js
* docsintroductionpagesdocumenting-your-thingsindex.mdx in ./.docz/app/imports.js
* docsintroductionpagesgetting-startedindex.mdx in ./.docz/app/imports.js
* docsintroductionpageswriting-mdxindex.mdx in ./.docz/app/imports.js
* docspluginsindex.mdx in ./.docz/app/imports.js

document typescript

i was getting Error: Cannot find module 'typescript' errors until i realized that i have to manually install typescript myself as it is a peer dep. for some reason your example repo doesnt need typescript as an explicit dependency.

also the typescript:true flag is hard to find and should be better known. probably a standalone typescript doc is good for all these small things.

website doesnt run locally

i'm getting this based on just doing yarn dev on the current master:

This dependency was not found:

* null in ./.docz/app/root.jsx

To install it, you can run: npm install --save null

that file has this weird code:

import Wrapper from 'null'

const Root = () => <Theme hashRouter={undefined} wrapper={Wrapper} />

export default hot(module)(Root)

after i install the null package:

image

not sure what is going on but just sharing

Upgrade to docz v2

I'm looking at examples on how to use docz on my docs site and it would be great if this repo would be up to date with the docz itself ๐Ÿ˜‰

The website doesn't work on Firefox

On Firefox https://www.docz.site/ flashes with its header for a fraction of second and disappears. Was checked on Firefox 66 (64 bit) on Ubuntu and on Mac OS with different network connections. The website works on Chromium on the same machines correctly.

Request for favicon documentation

Favicon Documentation Request

Hey guys, I posted a comment in this issue here and I'll port it over here. This is a request for documentation on how to get a favicon working.

I tried adding a favicon based on the instructions here and they didn't work for me. I found a solution that works in the meantime by adding an external link in the doczrc.js for the favicon.

External favicon link

// doczrc.js
export default {
  htmlContext: {
    favicon: 'https://s3-us-west-1.amazonaws.com/set-protocol/favicon.ico',
  },
}

I added this and reran yarn dev which showed the favicon for me. This is mostly a bandaid solution to unblock some folks who are running into the same issue.

I'm sure others are having the same issue by looking down the list of projects using docz who are missing favicons.

Testing Other Repos

I tested the docz-website and island-wars repos, both of which have working deployed favicons. When running both of them locally, I didn't see working favicons.

docz-site

When running the docz-website locally, and saw that the favicon for the site wasn't working for me. It's confusing because the doczrc.js leads to an .ico file, but the path doesn't match up to anything inside of the public folder. The only favicon I see is a favicon in the public/images folder which is a .png file. When looking in the source code on docz.site, the favicon link doesn't lead to anything. Would be useful to get clarification on how it works.
screen shot 2018-08-30 at 4 22 36 am

island-wars

I saw one repo in the list above that had a working favicon, and running that locally also didn't show a favicon. I did see a useful commit from there that I followed and didn't get me working favicon using that method. Their site does link to the proper favicon.
screen shot 2018-08-30 at 4 26 04 am

Production Builds

I questioned whether it was because I wasn't using a production build, so I deployed to Netlify, but also didn't see a working favicon.

request to help maintain docz docs

hey Pedro,

i'd like to offer my help maintaining the docs. i think it could help the onboarding experience esp like this - doczjs/docz#576

i sincerely want this project to take over design system development and i think it we need to lead by example with great docs.

thank you
shawn

Copyright holder and license

Hi,
Could you please add LICENSE file and put the copyright holder and license inside each file?

This way there is no chance of someone stumbling across a piece of code without being exposed to the license.

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.