Spaces:
Running
Download README.md from gspin/phd-report: direct link, hf CLI and curl.
- Browser
- Download file 2.31 kB
-
https://huggingface.co/spaces/gspin/phd-report/resolve/main/README.md
- Command line
-
hf download hf://spaces/gspin/phd-report/README.md
-
curl -L -o README.md https://huggingface.co/spaces/gspin/phd-report/resolve/main/README.md
title: Phd Report
emoji: π’
colorFrom: purple
colorTo: green
sdk: static
pinned: false
A navigable, documentation-style report of a PhD project on multimodal LLMs for digital art history. Plain HTML/CSS/JS, served as a static Hugging Face Space.
Do not edit this Space on Hugging Face. It is published from
llm-art/art-historical-papers-extraction(space/) bymake space-publishor the repository'sSpaceworkflow, and every upload replaces what is here. The hand-written pages live underspace/site/there; the data pages (extraction, analysis, queries, pool and bench results, the repository README) are rendered from the repository's committed reports byspace/build.pyand never edited by hand. Paper figures are never published; only RKD's own IIIF thumbnails are shown.
Structure
index.htmlβ fixed shell: header, sidebar, breadcrumbs, content area, on-page TOC. Don't restructure this file for content changes.nav.jsonβ the navigation tree. One entry per page:title,summary,file(path to its HTML fragment), and optionalchildren.content/β one HTML fragment per page (just the article body, no<html>/<head>).assets/css/βtheme.css(design tokens, layout, shell components) andcontent.css(typography for fragment content).assets/js/βapp.js(boot + glue),router.js(hash routing),nav.js(sidebar/breadcrumbs/pager/TOC rendering),search.js(client-side search).
Adding or editing a hand-written page
In the repository, under space/site/:
- Copy
content/_template.htmltocontent/<part>/<slug>.htmland write the fragment (headings start at<h2>; see the template for supported components: callouts, figures, tables, code blocks). - Add an entry for it in
nav.json, nested under the right parent node.
That's it β the sidebar, breadcrumbs, prev/next pager, child card grid, and
search index all update automatically from nav.json; no JS changes needed.
Local preview
make space && cd space/dist && python3 -m http.server 8000
Then open http://localhost:8000. (Fragments are loaded with fetch, so this
won't work by opening index.html directly from the filesystem.)