Skip to content

ars17psu/www

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Editing Documents

Pages and posts can be written in markdown (.md) restructured text (.rst) or in html (.html). In any document format, the headers are essential to generating valid web pages.

Headings

Do not use H1 to represent the title of a document. Use H1s as the highest level of your page outline. You can have multiple H1s.

Databrary Project Websites Generator

This project generates static content for databrary.org and datavyu.org using Pelican, a python library. It pulls content from other databrary repos, including policies, datavyu, and datavyu-docs.

Requirements

see requirements.txt

Use

Development server

make start SITE=(databrary|datavyu) make stop SITE=(databrary|datavyu)

These commands start and stop the development server for the site requested on a default port, such that they can be run it parallel.

databrary : port 8001 datavyu : port 8002

It also automatically regenerates theme and content files on update. (But does not watch config files nor local static assets.)

SITE is a required parameter.

Development output

make html [SITE=(databrary|datavyu)]

This command produces HTML output with relative links and no feeds. Only useful for development.

If SITE is unspecified, it generates output for all sites.

Publishable output

make publish [SITE=(databrary|datavyu)]

This command produces HTML output with absolute links, feeds, and sitemap. It will override production site!

If SITE is unspecified, it generates output for all sites.

About

Static webpages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 45.8%
  • Python 22.4%
  • HTML 20.6%
  • JavaScript 4.4%
  • Makefile 4.0%
  • Shell 2.8%