Git Product home page Git Product logo

Comments (15)

bmcmahen avatar bmcmahen commented on August 11, 2024

I'll look into it. react-docgen was acting kinda weird for me before, too. I'd like to nail this down, and clean up the docs before the next major release, and also ensure that all of propTypes are correct.

from panza.

META-DREAMER avatar META-DREAMER commented on August 11, 2024

Also, as a part of the "fancy website", we could use gitbooks.com for the docs.

from panza.

bmcmahen avatar bmcmahen commented on August 11, 2024

Cool. I'll look into it. Another thought is to use react-native-web to render the ui-components. That would be kinda sexy.

from panza.

META-DREAMER avatar META-DREAMER commented on August 11, 2024

Yea that would be really cool! Ideally I would still like to be able to use something like gitbooks so we can automatically update docs and keep them in sync everywhere. I wonder if we could embed react native web views into gitbooks...

We can also use github pages to have a home page and then link to the gitbook docs from there.

from panza.

bmcmahen avatar bmcmahen commented on August 11, 2024

I'll probably have some time this weekend to hack away on this project. I'll try to sort out the documentation, create a new org, and figure out the basic skeleton of the project.

from panza.

bmcmahen avatar bmcmahen commented on August 11, 2024

Documentation generator is mostly fixed in the docs branch. It still reports errors for files that don't contain any exported documents, but it's mostly just noise right now. It does generate the docs correctly. I had a quick look at GitBook, but don't really have time right now to fully figure it out. My sense is that it can read from the repository directly, and update the docs when changes are made to master?

from panza.

META-DREAMER avatar META-DREAMER commented on August 11, 2024

Just saw all the new stuff, great job man! I've been busy for the past few weeks (and will be for another 2 weeks) with a product launch so I haven't been able to work on this stuff, but right after that I'll be back in business.

Gitbook is basically like a CMS, it can read from and write to the repository automatically, so you can go to the gitbook site and edit things there and the changes will be reflected in the repo here. It's basically a static site generator without the setup, it's what redux uses (http://redux.js.org/)

from panza.

bmcmahen avatar bmcmahen commented on August 11, 2024

Awesome -- I have a small project that I want to use this for, so I'll probably start using the outline of this new version in the coming weeks. But I'll wait to publish v3 until I get your feedback & maybe some code review. I'm also hoping to sort out react-native-web support, although setup (managing babel, dependencies, & a separate build) is a pain in the butt.

from panza.

META-DREAMER avatar META-DREAMER commented on August 11, 2024

Great, yea ill have a look at everything next week sometime, review the code as well

from panza.

bmcmahen avatar bmcmahen commented on August 11, 2024

Gitbooks is working on the docs branch. Running npm run docs:publish reads the propTypes from our various components, generates the respective markdown files, runs gitbooks with a series of plugins, and pushes it to the gh-pages branch. The docs still need a lot of work, but the basic framework is there, now.

from panza.

bmcmahen avatar bmcmahen commented on August 11, 2024

Documentation is online here: http://bmcmahen.github.io/panza/

from panza.

META-DREAMER avatar META-DREAMER commented on August 11, 2024

Sorry for the delay, I'm finally going through all the new stuff and documentation today. Could you invite me to the gitbooks so I can play around in there? Have a few ideas for consolidating our documentation with the examples and UI Explorer.

from panza.

bmcmahen avatar bmcmahen commented on August 11, 2024

sent you an invite, although i'm not really using gitbooks the website at all. I am using their open source lib, and publishing it on the gh-pages branch, though. You can mess around with the documentation by looking at the npm scripts -- including npm run docs:watch -- to get a sense of how the process works now. The examples are now working with react-native-web, although it's definitely quite hacky at this stage.

Also, make sure you check out the 'docs' branch. I've been working on v3 there for the last couple of weeks.

from panza.

META-DREAMER avatar META-DREAMER commented on August 11, 2024

ah ok, that makes sense now, didnt know you were working on the docs branch. I was confused because the content on gitbooks site didnt match the repo. Thanks, will start digging through the docs repo!

from panza.

META-DREAMER avatar META-DREAMER commented on August 11, 2024

I made a slack for us so we can chat and bounce back ideas instead of having to comment on this each time for small things. Got a few questions about the new structure

from panza.

Related Issues (20)

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.