Compare commits
6 Commits
rowa97-pat
...
export-sta
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0165c5c1b3 | ||
|
|
88a6977ff8 | ||
|
|
f6349afbbd | ||
|
|
0bb74e95b7 | ||
|
|
11a7d87a52 | ||
|
|
55df020176 |
38
articles/hubs/export-static-html.md
Normal file
38
articles/hubs/export-static-html.md
Normal file
@@ -0,0 +1,38 @@
|
||||
# Download Static HTML & CSS
|
||||
|
||||

|
||||
|
||||
> Requires a Pro Docs plan
|
||||
|
||||
## What?
|
||||
If you would rather host your documentation outside of Stoplight's hosted servers, you can download a built version of your Hub. Downloading a build will produce a `.zip` containing all of the minified assets necessary to load your Hub. These assets will include HTML, JavaScript, CSS, and JSON files. You will need an HTTP File Server in order to properly view and navigate your downloaded Hub. Any authorizations (Auth0, SAML, etc) you have added will not work, since they require a backend server.
|
||||
|
||||
## How to download
|
||||
1. Click the **Publish** icon on the far left toolbar
|
||||
2. Select or create a **domain**
|
||||
3. Choose a **Hub** or **OAS** file
|
||||
4. Click the **Build** button to start the build process
|
||||
|
||||
> If this is your first build, it will also publish to your selected domain
|
||||
|
||||
5. Once your **Hub** has finished building, it will appear in the **Builds** section. Click the download icon to the right of the build
|
||||
6. Unzip the downloaded `.zip` to view all of the assets. It will most likely be located in your Downloads folder
|
||||
|
||||
## How to serve locally on your computer (Mac)
|
||||
1. Open Terminal and `cd` into the root of your build folder
|
||||
2. Start your favorite file server (Ex. `python -m SimpleHTTPServer`)
|
||||
3. Open a web browser and navigate to the file server's local url (Ex `http://localhost:3000`)
|
||||
|
||||
---
|
||||
**Related Articles**
|
||||
- [Documentation with Hubs](/documentation/introduction)
|
||||
- [Routing](/documentation/getting-started/routing)
|
||||
- [Headers](/documentation/getting-started/header-footer)
|
||||
- [Pages](/documentation/getting-started/pages)
|
||||
- [Subpages](/documentation/getting-started/subpages)
|
||||
- [Blocks](/documentation/blocks)
|
||||
- [Referencing Other Data Sources](/documentation/referencing-other-data-sources)
|
||||
- [Publishing](/documentation/publishing)
|
||||
- [Theming](/documentation/design/theming)
|
||||
- [Custom CSS](/documentation/design/custom-css)
|
||||
|
||||
BIN
assets/gifs/modeling-tagging.gif
Normal file
BIN
assets/gifs/modeling-tagging.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 958 KiB |
@@ -1,15 +1,19 @@
|
||||
# Stoplight v4.1.0 — Fair Use Billing, Magic Links, Custom CSS, Landing Pages, Token Generation
|
||||
The first major update to Stoplight Next is live! We’ve been hard at work building out a bunch of new exciting features based on all your invaluable feedback. Now let’s dig in!
|
||||
# Stoplight v4.1.0 Release
|
||||
|
||||
This update includes fair use billing, magic links, custom css, and more.
|
||||
|
||||
## New 🚀
|
||||
- **[Fair Use Billing](https://docs.stoplight.io/platform/getting-started/billing)**: We instituted a fair use billing policy because we wanted our users to only pay for what they use. This means that you will only pay for the users actively contributing on your account in any given 30 day billing cycle. Unleash your Engineers!
|
||||
- **Annual Billing**: We enabled a year long billing option that helps you save up to 20%.
|
||||
- **[Magic Invite Links](https://docs.stoplight.io/platform/organizations/invite-people)**: Invite people to your Organization or Project simply by generating a link and sending it. Abra Kadabra.
|
||||
|
||||
- **[Fair Use Billing](https://docs.stoplight.io/platform/getting-started/billing)**: Our paid plans now only count active members that have created a project or updated project files in the past 30 days. This better aligns cost to value, and results in a lower bill in all cases. Now your members will only be added to your bill if and when they start creating content on Stoplight. Unleash your Engineers!
|
||||
- **Annual Billing**: Save up to 20%.
|
||||
- **[Magic Invite Links](https://docs.stoplight.io/platform/organizations/invite-people)**: Share it via email, Slack, and other channels to easily onboard members in your organization. Fair use billing means they won’t count until they actually start creating content. Abra Kadabra.
|
||||
- **[Custom CSS](https://docs.stoplight.io/documentation/design/custom-css)**: Add some custom style and flair to your documentation with Custom CSS.
|
||||
- **Custom HTML Landing Pages**: Create beautiful custom landing pages to greet and direct your users.
|
||||
- **[OAuth2 Token Generation in Hub’s Try it Out](https://docs.stoplight.io/documentation/oauth-hubs)**: If your API is protected by OAuth2, you can now generate tokens to enable Try it Out.
|
||||
- **[OAuth2 Token Generation in Hub’s Try it Out](https://docs.stoplight.io/documentation/oauth-hubs)**: If your API is protected by OAuth2, you can now generate tokens in the Try it Out block.
|
||||
|
||||
## Enhancements 💪
|
||||
- **IE 11 Support for Published Hubs**: IE 11 now renders documentation created in Hubs.
|
||||
|
||||
- **Relative $refs**: References from one file to another in the same project are now represented with relative URLs. For example, `./models/user.json` instead of `https://exporter.stoplight.io/45/master/models/user.json`. This has a number of benefits, such as increased portability. It also sets the stage for better desktop local file editing and versioning.
|
||||
- **Published hubs now support Internet Explorer 11**
|
||||
|
||||
Please reach out via chat or support@stoplight.io if you have any questions about the above changes.
|
||||
|
||||
Reference in New Issue
Block a user