GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - InseeFrLab/codif-ape-docs

BranchesTags
Open more actions menu

Latest commit

 

History

15 Commits
15 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
codif-ape-prez @ dc54961
codif-ape-prez @ dc54961
 
 
en
en
 
 
fr
fr
 
 
scripts
scripts
 
 
style
style
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
README.md
README.md
 
 
_quarto.yml
_quarto.yml
 
 
index.qmd
index.qmd
 
 
references.bib
references.bib
 
 

Repository files navigation

codif-ape-docs

Technical note on INSEE's MLOps pipeline for the automatic coding of economic activity (APE / NAF / NACE), as a bilingual Quarto website.

Live site: https://inseefrlab.github.io/codif-ape-docs/

Structure

  • index.qmd: root page, redirects to en/, or to fr/ if the reader last chose French
  • en/*.qmd: English version
  • fr/*.qmd: French version, with the same file names and the same anchors (#sec-…, #tbl-…, fig-…)
  • references.bib: bibliography shared by both versions
  • style/styles.scss: theme (Bootswatch litera with a few rules)
  • style/nav.html: the single, collapsible table of contents in the left sidebar, and the EN | FR switch in the navbar, which swaps the page to the other language in place (same page, same section, no reload)
  • scripts/outline.py: post-render script that writes _site/outline.json, the plan of the note (chapters, sections, sub-sections) read by style/nav.html
  • codif-ape-prez/: submodule holding the presentations. It is not rendered here: the site links to https://inseefrlab.github.io/codif-ape-prez/.

Every change must be made in both languages.

Authors

Each chapter lists its own authors in its front matter, shown under the title. Set them in both languages (en/<chapter>.qmd and fr/<chapter>.qmd):

author:
  - name: Jane Doe
    affiliations:
      - Insee
  - name: John Doe
    affiliations:
      - Insee
      - CREST

Quarto also accepts email, orcid, url and corresponding: true for each author.

Build locally

quarto preview

Deployment

On each push to main, .github/workflows/publish.yaml renders the site and publishes it to the gh-pages branch. Under Settings → Pages, GitHub Pages must serve from the gh-pages branch.

About

inseefrlab.github.io/codif-ape-docs/

Resources

Readme
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.