Skip to content

WIP: Add GC website#688

Open
bountonw wants to merge 23 commits intomainfrom
website
Open

WIP: Add GC website#688
bountonw wants to merge 23 commits intomainfrom
website

Conversation

@bountonw
Copy link
Owner

@bountonw bountonw commented Nov 13, 2025

@Deadpikle

This is the day of small beginnings. There is a working toc with the proper text and links along with placeholders for js and css. Hopefully this will be useful as we flesh out the website. I will need advice for those things that I can do and help with those things I can't do. Tools used so far were grep sed paste echo nvim with regex. (and a perl one liner via an AI). So no coding yet.

chapter urls (no files created yet, but hopefully this will help in coding.)

chapters/00_introduction.html
chapters/01_the_destruction_of_jerusalem.html
chapters/02_persecution_in_the_first_centuries.html
chapters/03_an_era_of_spiritual_darkness.html
chapters/04_the_waldenses.html
chapters/05_john_wycliffe.html
chapters/06_huss_and_jerome.html
chapters/07_luthers_separation_from_rome.html
chapters/08_luther_before_the_diet.html
chapters/09_the_swiss_reformer.html
chapters/10_progress_of_reform_in_germany.html
chapters/11_protest_of_the_princes.html
chapters/12_the_french_reformation.html
chapters/13_the_netherlands_and_scandinavia.html
chapters/14_later_english_reformers.html
chapters/15_the_bible_and_the_french_revolution.html
chapters/16_the_pilgrim_fathers.html
chapters/17_heralds_of_the_morning.html
chapters/18_an_american_reformer.html
chapters/19_light_through_darkness.html
chapters/20_a_great_religious_awakening.html
chapters/21_a_warning_rejected.html
chapters/22_prophecies_fulfilled.html
chapters/23_what_is_the_sanctuary.html
chapters/24_in_the_holy_of_holies.html
chapters/25_gods_law_immutable.html
chapters/26_a_work_of_reform.html
chapters/27_modern_revivals.html
chapters/28_facing_lifes_record.html
chapters/29_the_origin_of_evil.html
chapters/30_enmity_between_man_and_satan.html
chapters/31_agency_of_evil_spirits.html
chapters/32_snares_of_satan.html
chapters/33_the_first_great_deception.html
chapters/34_can_our_dead_speak_to_us.html
chapters/35_liberty_of_conscience_threatened.html
chapters/36_the_impending_conflict.html
chapters/37_the_scriptures_a_safeguard.html
chapters/38_the_final_warning.html
chapters/39_the_time_of_trouble.html
chapters/40_gods_people_delivered.html
chapters/41_desolation_of_the_earth.html
chapters/42_the_controversy_ended.html

Closes #695

@bountonw bountonw changed the title Add GC website WIP: Add GC website Nov 13, 2025
@Deadpikle
Copy link
Collaborator

Deadpikle commented Nov 14, 2025

You can generate chapter files using a C# script I built (sorry for C#, I had limited time and this was the quickest way for me to get it done). It slurps in the MD files and uses header and footer HTML files to create an overall HTML file using MarkDig.

Install: https://dotnet.microsoft.com/en-us/download

Then run:

cd lo/websites/mdconverter
dotnet run --md-folder "~/Documents/Projects/translate/lo/GC/03_public/" --website-folder "~/Documents/Projects/translate/lo/websites/laoegw/GC"

--md-folder is your folder of markdown files you want to convert; --website-folder is the folder for the website.

If you are on .NET 10 (just released), change lo/websites/mdconverter/MdConverter.csproj:

<TargetFramework>net9.0</TargetFramework> -> <TargetFramework>net10.0</TargetFramework>

  • The metadata/chapter-key.txt file has the chapter # to file path output data.
  • The metadata/header-replacements.txt was a hacky way to run a list of text replacements for chapter_header.html

@Deadpikle
Copy link
Collaborator

Markdown -> HTML conversion script has been updated to do a raw replacement of {\;} and {\:} to per #694, #695

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add latex spacing to html conversion script

2 participants