-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Webpack warning when running examples #10
Comments
@rscreene I had an email notification that you maybe had an old version lying around- I don't see that comment here so I assume you checked and you do not? I remember the "Context can't use RegExps with the 'g' or 'y' flags" warning but I was pretty sure that I'd fixed that. Hm.... The result is definitely very minimally styled. Per the doca workspace README:
And from the old doca repo's README:
So.... yeah, basically it's just a debugging theme for now I'm afraid. We wanted to get the tools out there (there's at least one other tool, for OpenAPI, that is using |
I tried it on a machine that had never run doca before and I got the same results so I'm guessing its not due to any old versions. When I said minimally styled I actually meant without any CSS! Sorry for any confusion. I've been dragged onto other things for the time being. I'll try again when I get back to it. |
I removed the -g option from the RegExps in |
Oh great- so it looks like as long as subdirectories is Yeah, there's no CSS. Or there may be an empty file to make something not complain, I forget. That seemed the best way to make it clear that it's not intended for production use. Maybe I should have put a banner at the top. hmm.... |
I'll open a PR for that within a day. FYI, I'll be playing around with these tools a lot this week, so I might find some other things to address. Do you know why the |
Or, if you know of specific issues in these tools that's blocking |
@genetique-techno it's a bit complicated- for personal reasons I'm taking some time away from the tech industry. So I no longer work at Cloudflare, although obviously I still care about this repo, and am still working on the next draft of the JSON Schema specification (which will mostly be core and validation stuff, probably with minimal Hyper-Schema changes since we're just staring to see draft-07 implemented). So the simple reason there's no UI right now is that I'm dealing with Real Life Stuff and unable to put a lot of time into one myself, and I'm not sure what the plan is within Cloudflare. @tomlikestorock are there any near-term plans for an open source new theme on top of this new back-end? Of course, if you want to work on a UI that would be awesome and may be faster, and I'd be happy to answer questions, review code, discuss UI design options, etc. I've thought about this stuff a lot, I just don't have time to code it right now. As for why the old doca-bootstrap-theme doesn't work, the old doca (on npm as So in this repo, But that means no older If you want to kick ideas around more, feel free to drop by the JSON Schema slack channel which might be a little better suited than GitHub issues for such things. |
@handrews thanks for providing some background on the state of things--I totally understand Real Life. I'm going to try to make a new template with the |
Ah, I had assumed that the warnings were the reason that there was no CSS! I'll check back later. Nice project by the way! |
I am trying to run the doca examples using the following commands:
But I get warnings from webpack and the resulting webpage is only very minimally styled. The output from the above is:
This is using macOS 10.13.1
Is it something I'm doing wrong?
The text was updated successfully, but these errors were encountered: