Skip to content
This repository was archived by the owner on Mar 5, 2021. It is now read-only.
This repository was archived by the owner on Mar 5, 2021. It is now read-only.

Convert to Superpowers Web project hosted on GitHub Pages #1

@elisee

Description

@elisee

The current documentation is a Node.js app. The goal here is to turn it into a fully static website. We'll move the current documentation from Bitbucket to GitHub and turn it into a Superpowers Web project.

  • Add Markdown filter support to Superpowers Web
  • Expose an object to Jade at build time that contains all the assets in the project, so that we can build the sidebar
  • Load the sidebar as an iframe to avoid having many copies of it
  • When switching pages through the sidebar, to avoid making the sidebar jump, update URL with window.history.pushState, load new page with XHR and... insert its main content into main?

Each page should do something like:

extends layout/index.en.jade

block content
  :markdown
    h1 Title

and layout/index.en.jade should be like:

doctype html
body
  head
    title ...
    link(rel="stylesheet" href="...")
  body
    iframe(src="menu.en.html")
    main
      block content

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions