forked from ringcentral/slate
-
Notifications
You must be signed in to change notification settings - Fork 41
Creating Content
Rolfe Dlugy-Hegwer edited this page Nov 29, 2017
·
1 revision
If you're familiar with markdown, you can start creating content for your dpSlate site.
Because the primary use case for DP slate is creating API documentation, that's what we'll show in the following examples.
To create a main page for your site:
- In a text editor, create a new file (e.g., File > New File).
- On the first line, create a markdown heading, like this:
# Hello World
- Save the new file as
index.md
in thedpSlate/source
folder you created earlier. By default, dpSlate rebuilds the site with your new content. - Verify that your site displays the new content (e.g., "Hello World"): For example, if you are running dpSlate on your local computer (aka the standalone option), visit
http://localhost:4567/
.