Add:
bitshift/assets.py, static/sass/404.sass
-Add `syntax_highlight()` and style rules to perform syntax
highlighting on 404 error messages; used in
`templates/error404.html`.
templates
-Add a `Jinja` expression to select a random "404" message from
a sequence.
Add:
app.py
-Remove hard-coded routes for files in the application's "root"
(`static/`) directory; redefined Flask's `static_url_path`
accordingly. Files can now be directly accessed by URL.
bitshift/assets.py
-Remove the `static/` prepended to all resource paths.
Add:
bitshift/crawler/indexer.py
-Add 'pkill git' to the 'git clone' subprocess in '_clone_repository()',
to kill hanging remotes -- it's un-Pythonic, but, thus far, the only
method that's proved successful. The RAM problem still persists; the
latest dry-run lasted 01:11:00 before terminating due to a lack of
allocatable memory.
-Add exception names to `logging` messages.
bitshift/assets
-Update 'tag()' docstring to current 'bitshift' standards (add a ':type'
and ':rtype:' field).
Add:
bitshift/assets.py
-add module that contains functions to be called from inside the
templates/ Jinja HTML files -- currently contains tag(), which generates
an HTML asset tag based on a filename.
bitshift/config.py
-add Flask configuration module.
static/(sass/main.sass, css/main.css)
-create isolated directory for SASS files; compiled CSS files will be
stored in static/css.
static/css/_mixins.sass
-add SASS partial to contain mixins (globally relevant to the project's
styling).
templates/layout.html
-add various metadata.