workday / doc_my_routes Goto Github PK
View Code? Open in Web Editor NEWDocMyRoutes provides a way to annotate Sinatra routes and generate documentation
License: MIT License
DocMyRoutes provides a way to annotate Sinatra routes and generate documentation
License: MIT License
I'd like to be able to link directly to individual endpoints in the documentation. This helps with communication among team members.
I would suggest placing an anchor element beside each endpoint with a href for the endpoint. Something like:
<a href="[CURRENT_URL]#[VERB][PATH]>[SOME SORT OF LINK ICON</a>
The HTML5 details tag is not supported on Firefox and IE.
We can add an option emulate_details_tag
that would inject in the full page a custom Javascript that emulates the folding behaviour of the details tag.
If the option is set, that Javascript is then included in the page.
If format = :partial_html
is provided, the Javascript is shipped as well on a separate file.
It's then up to the user to decide whether she wants a fully js-free page or broader compatibility.
When the option is set, instead of generating a full HTML page we will generate a div that can be embedded in custom code.
For instance:
DocMyRoutes.configure do |config|
...
config.render_as_partial = true
end
will generate an embedded partial.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.