Skip to content

Conversation

shorodilov
Copy link
Contributor

@shorodilov shorodilov commented Jan 12, 2024

Important notes

Motivation

The original templates bundle requires additional explanations on its DOM structure.
The developer's bundle provides semantic markup easy to understand.
The bundle contains stand-alone templates for individual sections, which makes it easy to (re-)use.

Changes

  • Set up builds for production and distribution environments
  • Set up CI
    • Dedicated workflow check the ability to build distributions
    • Jest runs tests on custom JavaScript
    • pytest runs Selenium tests
  • Set up CD
    • On push to the master branch the production dist will be uploaded to GitHub pages
    • On release creation the development dist will be attached as asset

Development distribution

The development distribution package is easy-to-implement for template processor (Django, Jinja2 etc.):

dist
├── _sidebars
│   ├── anonymous.html
│   ├── authenticated.html
│   ├── can_comment.html
│   ├── can_edit.html
│   └── create_view.html
├── articles
│   ├── article_detail.html
│   ├── article_form.html
│   ├── article_list.html
│   └── topic_list.html
├── auth
│   ├── signin_form.html
│   └── signup_form.html
├── static
│   ├── css
│   │   └── main.css
│   ├── img
│   │   ├── anonymous.svg
│   │   ├── favicon.png
│   │   ├── favicon.svg
│   │   └── logo.svg
│   └── js
│       └── main.bundle.js
├── users
│   └── profile.html
├── _navbar.html
├── about.html
└── base.html

Output example

Screenshots

image
image
image
image
image
image
image
image
image
image

@shorodilov shorodilov requested a review from a team January 14, 2024 12:33
@shorodilov shorodilov marked this pull request as ready for review January 14, 2024 13:38
@shorodilov shorodilov merged commit 4334a3c into master Jan 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant