-
Notifications
You must be signed in to change notification settings - Fork 27
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
API CLI mapping docs consistency #159
Conversation
- ignoring h1 - no indents from h2
Thanks for improving the docs and also many thanks for trying to fix the "indentation level" handling in the scraper. I checked this again and with rooms.html I get these differences:
So it seems that removing |
- h1 tag shouldn't be excluded in output - Refactor for readability: Add a separate function for finding "how many indentations" are required.
69e2fb9
to
bc60b17
Compare
Ok please see bc60b17, I tried to refactor to make it just a little more readable. Check out |
Forgot to add what the final outcome of my changes are - almost identical to what we have in the actual docs now:
or with the debug output mode:
|
All docs changes are fine for me and appreciated. For me it now approves. Do you agree with my code changes too or just no time to look at them right now? @JacksonChen666 |
Some changes to make CONTRIBUTING.md and scrape_docs.py more aligned with how it's currently formatted in the actual documentation