CHM build issues
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Attiva
- Stack tecnologico
- php
- Ambito
- build-system, documentation
Direzione di ricerca
Inizia da phpdotnet/phd/Package/PHP/HOWTO.GENERATE_CHM e analizza i malfunzionamenti segnalati di HTMLHelp Workshop e Free Pascal chmcmd. Riproduci la build di CHM, se possibile, incluse le avvertenze sui file mancanti e il malfunzionamento del caricamento su Windows. Il lavoro è completato quando sono documentati gli strumenti e i passaggi funzionanti, oppure esiste una base chiara per abbandonare il supporto a CHM.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Attempted to build the CHM (non-enhanced) version of the manual and while the build itself appears to work, I ran into issues compiling the output into a chm file.
There's some CHM build instructions at https://github.com/php/phd/blob/master/phpdotnet/phd/Package/PHP/HOWTO.GENERATE_CHM but as you'll see from my notes below, they're not very helpful.
The first issue I encountered is that HTMLHelp Workshop (which contains the HTMLHelp Compiler) will not install on Windows 11 (installer errors saying a newer version is already installed).
Additionally I should note HTMLHelp Workshop no longer appears to be available for download from Microsoft (there's web documentation for it, but none of the download links leads anywhere. The closest I could find was this MS Answers post linking to an archive.org copy
I then tried the chmcmd compiler from freepascal on Linux (I was using fpc 3.2.2 on Gentoo). While this appeared to create a .chm file, this file failed to load on Windows 11. Additionally it output an Access Violation error.
chmcmd produced a number of warnings relating to content during the build. The most common 2 were:
Warning: Found file res/language.types.value.html while scanning res/<filename>.html, but couldn't find it on disk- appears to be caused by specific instances of the<type>tag ontrueandfalseWarning: Found file res/ while scanning res/mongodb.persistence.html, but couldn't find it on disk- appears to be caused by anchors with no file attached. I think created by (for example)<footnoteref linkend="mongodb.pclass"/>
Does anyone have working instructions / tools to build the chm version of the manual?
The apparent lack of tools for building CHMs (I did have a search but there weren't many options, never mind free and maintained options) has me moving towards suggesting dropping support for CHM.
- Lingua principale
- PHP
- Stelle
- 91
- Fork
- 59
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di php/phd
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
-
Can <subtitle> not be used? Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
-
Half of `doc-pl` is all bold Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
-
enhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
Issue simili
-
Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
Automattic/safe-publish#594 ·
-
HttpClient
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
symfony/symfony-docs#23092 ·
-
sync-en
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
-
sync-en
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 95/100
-
Перевод устарел
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100