Skip to content

Commit

Permalink
Merge pull request #6 from lsst-sqre/tickets/DM-37007
Browse files Browse the repository at this point in the history
DM-37007: Implement a base styling of the metadata surrounding the content
  • Loading branch information
jonathansick authored Dec 5, 2022
2 parents ab00588 + 1683c4f commit f02d8c0
Show file tree
Hide file tree
Showing 54 changed files with 2,609 additions and 161 deletions.
27 changes: 27 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "build",
"group": "build",
"problemMatcher": [],
"label": "npm: build",
"detail": "Build CSS & JS with webpack"
},
{
"label": "Demo",
"detail": "Build demo technote",
"type": "shell",
"command": "tox -e demo",
"problemMatcher": []
},
{
"label": "Preview",
"detail": "Build CSS, JS and demo technote",
"dependsOn": ["npm: build", "Demo"],
"dependsOrder": "sequence",
"problemMatcher": []
}
]
}
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

<!-- Format for headings: 1.2.3 (YYYY-MM-DD) -->

## 0.2.0 (2022-12-05)

This version adds customized Jinja templates as well as CSS to implement the core technote reading experience on the web.
This version includes an `abstract` reStructuredText directive, as well as a customized table of contents context variable for Jinja (`technote_toc`).

## 0.1.0 (2022-10-21)

First release of technote.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
include src/technote/theme/static/styles/technote.css
include src/technote/theme/static/styles/technote.css.map
include src/technote/theme/static/scripts/technote.js
prune src/assets
1 change: 1 addition & 0 deletions demo/_static/technote-logo-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions demo/_static/technote-logo-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions demo/conf.py
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
from technote.sphinxconf import * # noqa: F401 F403

html_static_path = ["_static"]

html_theme_options = {
"light_logo": "technote-logo-light.svg",
"dark_logo": "technote-logo-dark.svg",
"logo_link_url": "https://technote.lsst.io",
}
Loading

0 comments on commit f02d8c0

Please sign in to comment.