|Charles Reid 872e310a55 Splash page is only finished notebooks||2 months ago|
|content||2 months ago|
|docs||2 months ago|
|notebooks||2 months ago|
|.gitignore||2 months ago|
|LICENSE||2 months ago|
|README.md||2 months ago|
|TODO.md||2 months ago|
|pelicanconf.py||2 months ago|
Notes on experiment design, statistics, empirical model-building, factorial and composite designs, response surfaces, Monte Carlo, and linear models.
The main output of the repository consists of HTML pages and Jupyter notebooks containing lecture notes and example problems on various experimental design topics.
To generate these, use Pelican (see next section).
The source code for creating the HTMl and Jupyter notebooks is organized as follows:
Pelican is the Python module used to turn raw content into web content
pelicanconf.pyis the main Pelican "Makefile"
content/directory will contain any pelican content
Raw content in
content/ is turned into static web content in
Jupyter notebooks are converted to HTML and added to
Static content in
docs is hosted on Github Pages
The Pelican configuration file is
Pelican turns raw content (markdown, HTML-like Jinja templates) into static HTML content.
The default location for Pelican content is
This is where it looks for markdown files to turn into static content.
You can add more locations by adding to the list
Markdown files in
content/ will be rendered as blog posts.
This is problematic if there is no support for blog stuff,
as with the theme we are using,
Markdown files in
content/pages/ will be rendered as static
HTML pages. Easy peasy.
The basic template files are contained in the theme folder.
To add your own templates to customize the theme, add more paths
containing templates to the
Also explicitly add HTML template pages like this:
TEMPLATE_PAGES['mypage.html'] = 'mypage.html' TEMPLATE_PAGES['custompath.html'] = 'custom/path/custompath.html'
We use this to turn a custom HTML template into an index/splash page:
TEMPLATE_PAGES['splash.html'] = 'index.html'
The splash/landing page is a Jinja template at
It is converted into the destination file
index.html as per
To modify the template, just edit
To use a different template as the splash page, just modify