maxcdnLink = (className) -> """
MaxCDN
MaxCDN has been supporting DevDocs since day one. They provide CDN solutions that make DevDocs and countless other sites faster.
"""
shopifyLink = (className) -> """
Shopify
Interested in working on one of the biggest commerce platforms in the world, in a delightful work environment? We're hiring developers, ops engineers, designers…
"""
app.templates.splash = """
DevDocs
#{maxcdnLink '_splash-sponsor'}
#{shopifyLink '_splash-sponsor'}
"""
<% if App.development? %>
app.templates.intro = """
Stop showing this message
Hi there!
Thanks for downloading DevDocs. Here are a few things you should know:
- Your local version of DevDocs won't self-update. Unless you're modifying the code,
I recommend using the hosted version at devdocs.io.
- Run
thor docs:list
to see all available documentations.
- Run
thor docs:download --all
to download/update all documentations.
- To be notified about new versions, don't forget to watch the repository on GitHub.
- The issue tracker is the preferred channel for bug reports and
feature requests. For everything else, use the mailing list.
- Contributions are welcome. See the guidelines.
- DevDocs is licensed under the terms of the Mozilla Public License v2.0. For more information,
see the COPYRIGHT and
LICENSE files.
- If you like the app, please consider supporting the project on Gratipay. Thanks!
That's all. Happy coding!
"""
<% else %>
app.templates.intro = """
Stop showing this message
Welcome!
DevDocs combines multiple API documentations in a fast, organized, and searchable interface.
Here's what you should know before you start:
- To enable more docs, click Select documentation in the bottom left corner
- You don't have to use your mouse — see the list of keyboard shortcuts
- The search supports fuzzy matching (e.g. "bgcp" brings up "background-clip")
- To search a specific documentation, type its name (or an abbreviation), then Tab
- You can search using your browser's address bar — learn how
- DevDocs works offline, on mobile, and can be installed on Chrome and Firefox.
- For the latest news, subscribe to the newsletter or follow @DevDocs
- DevDocs is free and open source
- If you like the app, please consider supporting the project on Gratipay. Thanks!
That's all. Happy coding!
"""
<% end %>
app.templates.mobileNav = """
"""
app.templates.mobileIntro = """
Welcome!
DevDocs combines multiple API documentations in a fast, organized, and searchable interface.
Here's what you should know before you start:
- To pick your docs, click Select documentation at the bottom of the menu
- The search supports fuzzy matching (e.g. "bgcp" matches "background-clip")
- To search a specific documentation, type its name (or an abbreviation), then Space
- For the latest news, subscribe to the newsletter or follow @DevDocs
- DevDocs is open source
That's all. Happy coding!
Stop showing this message
"""