Comments (15)
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.
Also, as a part of the "fancy website", we could use gitbooks.com for the docs.
from panza.
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.
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.
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.
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.
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.
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.
Great, yea ill have a look at everything next week sometime, review the code as well
from panza.
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.
Documentation is online here: http://bmcmahen.github.io/panza/
from panza.
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.
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.
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.
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)
- Component list discussion HOT 5
- panza org HOT 1
- separate examples from this repo
- React complains if unsupported props are attached to certain elements on the web HOT 1
- v3 bugs
- panza-future ideas
- Failed propType: Invalid props.style key `fontSize` supplied to `Picker`. HOT 3
- consistent sizing HOT 1
- url shortener
- cannot call #focus on Input
- NavBar positioning on android
- I guess this project is dead HOT 2
- Text "g" rendering on Android HOT 5
- InputRow. default value is not set. HOT 1
- InputRow: Error while updating property 'color' in shadow node of type: AndroidTextInput HOT 1
- How to call focus() for a InputRow HOT 1
- ErrorPage `message` prop never used HOT 1
- Development status? HOT 1
- InputDatePicker won't show - React Native android
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from panza.