Skip to content
AnyterialPublic

About

httk Spacegroup data explorer tool

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

74 Commits

Folders and files

Repository files navigation

httk Spacegroup Data Explorer (Hugo)

This repository is a Hugo site that replaces the old static website.

Prerequisites

  • Hugo (extended version recommended)

Run locally

Start a local development server with live reload:

make serve

Then open http://localhost:1313.

Build the site

Generate the content pages and production-ready static site:

make build

By default, Hugo writes the generated files to public/.

Run make ci to build and check all H-M entry, Hall and point-group pages, retained subgroup embeddings, exact setting maps, local links, and redirect aliases against the copied datasets. These checks use only the Python standard library. The deployment workflow runs the same content checks after its Hugo build.

With Playwright and its Firefox browser installed, run python3 scripts/check_browser.py http://localhost:1313 against make serve to check interactive navigation, both data-loading paths, symbols, and URL state.

Pages

Each International Tables setting (H-M entry of ITB table A1.4.2.7, 530 in all) has a page at /hm/<H-M entry>/, with spaces removed and / replaced by :. /nc/<n:c>/, /itn/<IT number>/ and /hall/<Hall entry>/ redirect to these pages, except for the three space group 68 Hall settings that carry two H-M entries: their /hall/ page lists both labels.

Project layout

  • static/data/symmetry_basics_hm_entry.json.gz: space-group records per H-M entry and point-group records
  • static/data/transformations_hm_entry.json.gz: H-M-entry keyed transformations used by the detail pages
  • static/data/transformations_std.json.gz: IT-standard transformations provided as a download; detail pages use the setting-specific file above
  • static/data/spacegroup_index.json.gz: generated lightweight browser index derived from symmetry_basics_hm_entry.json.gz
  • static/data/pointgroup_index.json.gz: generated lightweight browser index derived from symmetry_basics_hm_entry.json.gz
  • content/_index.md: homepage content
  • content/hm/*.md: generated content file per H-M entry (detail pages)
  • content/hall/*.md: generated pages of the Hall settings with two H-M entries
  • layouts/: Hugo templates for list/detail rendering
  • static/: JS/CSS assets copied directly into the generated site

About

httk Spacegroup data explorer tool

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages