EDIT_THIS ADD_JOURNAL ADD_ISSUE ADD_ARTICLE PUBLISH ?

Content creation via online preview site 👷

article⁄Content creation via online preview site 👷
contributor⁄
abstract⁄(Internal) Guide for creating new content via the Sandpoints preview page.
keywords⁄internalguide

1. Creating new content via the online Sandpoints preview site

Sandpoints provides a preview page that allows for both creating new entries and also editing existing entries via a browser, without the requirement of a local clone of the project. Any action will open a new tab at the project repository page, and requires the user to be logged in to the project repository.

To access the preview page append /_preview/ to the sitemap URL.

Notes:

2. Filename conventions and instructions for creating new entries

File naming:

Examples and instructions per entry type:

Type Filename convention Instructions template
contributor name-surname.md article⁄New contributor archetype
editor name-surname.md article⁄New editor archetype
issue (x is number) issue-x.md article⁄New issue archetype
article article-short-title.md article⁄New article archetype
print p-issue-x.md article⁄New print archetype
Table 1: Filename conventions and instructions per content type.

3. Steps for creating new content

  1. Create a new file, named according to §⁄file naming conventions.
  2. Open the new file, and copy the YAML sample and instructions corresponding to the content type of the new file (Table 1)
  3. Fill in the metadata fields:
    1. add your name in the author field
    2. edit header information (title, keywords, abstract, etc.)
  4. Edit content.
  5. Commit changes via Git when necessary.
  6. When editing is done and the new entry is ready for publishing, change draft: true to draft: false.
  7. Commit changes via Git.
  8. To recompile the site and include these changes include the keyword !publish! in your commit message.

4. Preview site interface

The preview site features a toolbar with five options (Screenshot 1), explained in the table below.

Screenshot 1: Sandpoints online preview site; edit options.
Screenshot 1: Sandpoints online preview site; edit options.

Preview site options
EDIT_THIS edit the current page
ADD_JOURNAL / ADD_ISSUE / ADD_ARTICLE create new entry by type
PUBLISH recompile the website to include any unpublished changes
? open the repository website
Table 2: Sandpoints online preview site edit options explained.

5. Editing & new item creation

All modifications (edits or new items) are carried out as git commits (Screenshots 2 and 3).

Screenshot 2: Sandpoints online preview site; interface for editing entries (EDIT_THIS).
Screenshot 2: Sandpoints online preview site; interface for editing entries (EDIT_THIS).

Screenshot 3: Sandpoints preview site; interface for creating new entries (ADD_ARTICLE)
Screenshot 3: Sandpoints preview site; interface for creating new entries (ADD_ARTICLE)