Skip to content

Authoring

9 pages
  • API reference pages

    In Authoring

    Authoring

    Publish an API reference straight from the OpenAPI file your service already has: save the file under static/ and add one shortcode to a page. Choose Swagger UI when readers should try requests from the page, or Redoc when they mainly read endpoint …

    Publish an API reference straight from the OpenAPI file your service already has: save the file under static/ and add one shortcode to a page. Choose Swagger UI when readers should try requests from the page, or Redoc when they mainly read endpoint …

  • Releases and downloads

    In Authoring

    Authoring

    A release page tells readers what shipped and lets them download it safely: a card linking the GitHub release and its source archives, a table of files with their checksums, and install instructions for each way of getting the software. OINK builds …

    A release page tells readers what shipped and lets them download it safely: a card linking the GitHub release and its source archives, a table of files with their checksums, and install instructions for each way of getting the software. OINK builds …

  • Image albums with Expo

    In Authoring

    Authoring

    Expo turns folders of images into a collection readers browse rather than read: albums grouped in the sidebar, a grid of the selected album’s images, and a viewer for zooming and stepping through them. Use it when the images are the content, such as …

    Expo turns folders of images into a collection readers browse rather than read: albums grouped in the sidebar, a grid of the selected album’s images, and a viewer for zooming and stepping through them. Use it when the images are the content, such as …

  • Books

    In Authoring

    Authoring

    Documentation is consulted: readers arrive from search, read one page and leave. A book is read in order, and its readers expect what print taught them: numbered chapters, figures and tables they can cite as “Figure 2-1”, cross-references that keep …

    Documentation is consulted: readers arrive from search, read one page and leave. A book is read in order, and its readers expect what print taught them: numbered chapters, figures and tables they can cite as “Figure 2-1”, cross-references that keep …

  • Blog posts

    In Authoring

    Authoring

    A blog section gives dated writing the shell readers expect from a blog: a newest-first index with a thumbnail on every row, an RSS feed, bylines, tags and share links. The body of a post is ordinary Markdown, written exactly like a documentation …

    A blog section gives dated writing the shell readers expect from a blog: a newest-first index with a thumbnail on every row, an RSS feed, bylines, tags and share links. The body of a post is ordinary Markdown, written exactly like a documentation …

  • Page parameters

    In Authoring

    Authoring

    Front matter lets one page, or a whole section through cascade, depart from the site-wide settings in hugo.yml: a wide layout for one reference table, no pager on a landing page, comments on blog posts but not on the docs. The keys below are every …

    Front matter lets one page, or a whole section through cascade, depart from the site-wide settings in hugo.yml: a wide layout for one reference table, no pager on a landing page, comments on blog posts but not on the docs. The keys below are every …

  • Authoring

    In Authoring

    Authoring

    Everything a reader sees comes from Markdown files under content/, and this section shows how to write them: a documentation page, the folder tree that becomes the sidebar, and the content types that bring their own layout, such as blog posts, books, …

    Everything a reader sees comes from Markdown files under content/, and this section shows how to write them: a documentation page, the folder tree that becomes the sidebar, and the content types that bring their own layout, such as blog posts, books, …

  • Organizing content

    In Authoring

    Authoring

    The folders under content/ are your navigation. Each folder becomes a group in the sidebar, each Markdown file a page, and weight sets the order, so you shape the sidebar by arranging files instead of maintaining a separate menu. The same tree drives …

    The folders under content/ are your navigation. Each folder becomes a group in the sidebar, each Markdown file a page, and weight sets the order, so you shape the sidebar by arranging files instead of maintaining a separate menu. The same tree drives …

  • Writing pages

    In Authoring

    Authoring

    A documentation page is one Markdown file under content/: a few lines of YAML front matter, then the body. Where you save the file decides its URL and its place in the sidebar, so a new page needs nothing beyond the file itself: …

    A documentation page is one Markdown file under content/: a few lines of YAML front matter, then the body. Where you save the file decides its URL and its place in the sidebar, so a new page needs nothing beyond the file itself: …