-
I have a modest documentation site consisting of roughly 40 markdown and 100 image/movie files. Almost every markdown file has a table of contents, and there are many cross-references using the I have incrementally worked on the site over several weeks, always previewing my work with
Seeing that the build took 71354 ms, I added this line to
and re-ran the site build (again removing the So my question is: Is it expected that Hugo builds with the Geekdoc theme take such a long time? If not, then do you have any ideas what I could be doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
I just tried to reproduce the issue with your repo but I get a lot of other build errorrs related to the content structure of your repo: $ hugo --config=config/online/hugo.toml --destination public/online
Start building sites …
hugo v0.115.2-8966424e0e521fb1627216a84efd2c5d5917cb0d linux/amd64 BuildDate=2023-07-08T17:06:56Z VendorInfo=gohugoio
ERROR [en] REF_NOT_FOUND: Ref "../ui-basics/tab-bar": "~/.tmp/littlego-usermanual/littlego-usermanual/content/game-organization/game-archive/index.md:13:213": page not found
ERROR [en] REF_NOT_FOUND: Ref "../game-organization/game-archive": "~/.tmp/littlego-usermanual/littlego-usermanual/content/diagnostics/troubleshooting/index.md:12:276": page not found
ERROR [en] REF_NOT_FOUND: Ref "../technical-pages/sgf": "~/.tmp/littlego-usermanual/littlego-usermanual/content/game-organization/game-archive/index.md:1:1": page not found
ERROR [en] REF_NOT_FOUND: Ref "../playing-the-game/scoring": "~/.tmp/littlego-usermanual/littlego-usermanual/content/other-features/game-info-screen/index.md:30:216": page not found
ERROR [en] REF_NOT_FOUND: Ref "../game-organization/game-archive": "~/.tmp/littlego-usermanual/littlego-usermanual/content/diagnostics/troubleshooting/index.md:18:151": page not found
ERROR [en] REF_NOT_FOUND: Ref "../settings/computer-player": "~/.tmp/littlego-usermanual/littlego-usermanual/content/diagnostics/troubleshooting/index.md:22:271": page not found
ERROR [en] REF_NOT_FOUND: Ref "../game-organization/game-variations": "~/.tmp/littlego-usermanual/littlego-usermanual/content/other-features/game-info-screen/index.md:36:115": page not found
ERROR [en] REF_NOT_FOUND: Ref "../game-organization/current-game-variation": "~/.tmp/littlego-usermanual/littlego-usermanual/content/other-features/game-info-screen/index.md:36:211": page not found
ERROR [en] REF_NOT_FOUND: Ref "../game-organization/game-archive": "~/.tmp/littlego-usermanual/littlego-usermanual/content/diagnostics/troubleshooting/index.md:32:60": page not found
ERROR [en] REF_NOT_FOUND: Ref "../playing-the-game/start-a-new-game": "~/.tmp/littlego-usermanual/littlego-usermanual/content/diagnostics/troubleshooting/index.md:38:187": page not found
ERROR [en] REF_NOT_FOUND: Ref "../ui-basics/tab-bar": "~/.tmp/littlego-usermanual/littlego-usermanual/content/appendix/faq/index.md:14:73": page not found
ERROR [en] REF_NOT_FOUND: Ref "../settings/players": "~/.tmp/littlego-usermanual/littlego-usermanual/content/playing-the-game/end-of-the-game/index.md:14:298": page not found
ERROR [en] REF_NOT_FOUND: Ref "../ui-basics/play-menu": "~/.tmp/littlego-usermanual/littlego-usermanual/content/appendix/faq/index.md:15:67": page not found
ERROR [en] REF_NOT_FOUND: Ref "../playing-the-game/start-a-new-game": "~/.tmp/littlego-usermanual/littlego-usermanual/content/appendix/faq/index.md:16:62": page not found
ERROR [en] REF_NOT_FOUND: Ref "../ui-basics/play-toolbar": "~/.tmp/littlego-usermanual/littlego-usermanual/content/appendix/faq/index.md:24:13": page not found
ERROR [en] REF_NOT_FOUND: Ref "../settings/players": "~/.tmp/littlego-usermanual/littlego-usermanual/content/playing-the-game/end-of-the-game/index.md:27:150": page not found
ERROR [en] REF_NOT_FOUND: Ref "../playing-the-game/how-to-play": "~/.tmp/littlego-usermanual/littlego-usermanual/content/appendix/faq/index.md:26:31": page not found
ERROR [en] REF_NOT_FOUND: Ref "../technical-pages/sgf": "~/.tmp/littlego-usermanual/littlego-usermanual/content/game-organization/game-archive/index.md:64:35": page not found
ERROR [en] REF_NOT_FOUND: Ref "../playing-the-game/start-a-new-game": "~/.tmp/littlego-usermanual/littlego-usermanual/content/appendix/faq/index.md:30:29": page not found
ERROR [en] REF_NOT_FOUND: Ref "../technical-pages/sgf": "~/.tmp/littlego-usermanual/littlego-usermanual/content/game-organization/game-archive/index.md:64:291": page not found
ERROR [en] REF_NOT_FOUND: Ref "../settings/computer-player": "~/.tmp/littlego-usermanual/littlego-usermanual/content/appendix/faq/index.md:40:145": page not found
ERROR [en] REF_NOT_FOUND: Ref "../settings/computer-player": "~/.tmp/littlego-usermanual/littlego-usermanual/content/appendix/faq/index.md:40:308": page not found
ERROR [en] REF_NOT_FOUND: Ref "../other-features/player-influence": "~/.tmp/littlego-usermanual/littlego-usermanual/content/appendix/faq/index.md:50:34": page not found
ERROR [en] REF_NOT_FOUND: Ref "../game-organization/game-archive": "~/.tmp/littlego-usermanual/littlego-usermanual/content/diagnostics/bug-reports/index.md:24:557": page not found
ERROR [en] REF_NOT_FOUND: Ref "../game-organization/game-archive": "~/.tmp/littlego-usermanual/littlego-usermanual/content/diagnostics/bug-reports/index.md:55:288": page not found
ERROR [en] REF_NOT_FOUND: Ref "../game-organization/game-archive": "~/.tmp/littlego-usermanual/littlego-usermanual/content/diagnostics/bug-reports/index.md:65:477": page not found
ERROR [en] REF_NOT_FOUND: Ref "../settings": "~/.tmp/littlego-usermanual/littlego-usermanual/content/ui-basics/tab-bar/index.md:1:1": page not found
ERROR [en] REF_NOT_FOUND: Ref "../game-organization/game-archive": "~/.tmp/littlego-usermanual/littlego-usermanual/content/ui-basics/tab-bar/index.md:1:1": page not found
ERROR [en] REF_NOT_FOUND: Ref "../diagnostics": "~/.tmp/littlego-usermanual/littlego-usermanual/content/ui-basics/tab-bar/index.md:1:1": page not found
ERROR [en] REF_NOT_FOUND: Ref "../other-features/game-info-screen": "~/.tmp/littlego-usermanual/littlego-usermanual/content/ui-basics/play-toolbar/index.md:27:120": page not found
ERROR [en] REF_NOT_FOUND: Ref "../other-features/game-info-screen": "~/.tmp/littlego-usermanual/littlego-usermanual/content/ui-basics/play-toolbar/index.md:54:120": page not found
ERROR [en] REF_NOT_FOUND: Ref "../settings/computer-player": "~/.tmp/littlego-usermanual/littlego-usermanual/content/other-features/player-influence/index.md:59:28": page not found
ERROR [en] REF_NOT_FOUND: Ref "../ui-basics/play-toolbar": "~/.tmp/littlego-usermanual/littlego-usermanual/content/playing-the-game/start-a-new-game/index.md:1:1": page not found
ERROR [en] REF_NOT_FOUND: Ref "../ui-basics/play-menu": "~/.tmp/littlego-usermanual/littlego-usermanual/content/playing-the-game/start-a-new-game/index.md:1:1": page not found
ERROR [en] REF_NOT_FOUND: Ref "../ui-basics/play-status-text": "~/.tmp/littlego-usermanual/littlego-usermanual/content/playing-the-game/how-to-play/index.md:1:1": page not found
ERROR [en] REF_NOT_FOUND: Ref "../game-editing/annotations": "~/.tmp/littlego-usermanual/littlego-usermanual/content/game-organization/game-variations/index.md:148:133": page not found
ERROR [en] REF_NOT_FOUND: Ref "../game-editing/annotations": "~/.tmp/littlego-usermanual/littlego-usermanual/content/game-organization/game-variations/index.md:148:220": page not found
ERROR [en] REF_NOT_FOUND: Ref "../game-editing/board-setup": "~/.tmp/littlego-usermanual/littlego-usermanual/content/game-organization/game-variations/index.md:150:200": page not found
ERROR [en] REF_NOT_FOUND: Ref "../game-organization/current-game-variation": "~/.tmp/littlego-usermanual/littlego-usermanual/content/other-features/game-board-extras/index.md:1:1": page not found
ERROR [en] REF_NOT_FOUND: Ref "../settings/players": "~/.tmp/littlego-usermanual/littlego-usermanual/content/other-features/game-info-screen/index.md:56:250": page not found
ERROR [en] REF_NOT_FOUND: Ref "../settings/computer-player": "~/.tmp/littlego-usermanual/littlego-usermanual/content/other-features/game-info-screen/index.md:56:456": page not found
ERROR [en] REF_NOT_FOUND: Ref "../settings/players": "~/.tmp/littlego-usermanual/littlego-usermanual/content/playing-the-game/start-a-new-game/index.md:1:1": page not found
ERROR [en] REF_NOT_FOUND: Ref "../appendix/go-rules": "~/.tmp/littlego-usermanual/littlego-usermanual/content/playing-the-game/start-a-new-game/index.md:182:248": page not found
ERROR [en] REF_NOT_FOUND: Ref "../game-organization/game-variations": "~/.tmp/littlego-usermanual/littlego-usermanual/content/other-features/game-info-screen/index.md:1:1": page not found
ERROR [en] REF_NOT_FOUND: Ref "../game-organization/current-game-variation": "~/.tmp/littlego-usermanual/littlego-usermanual/content/other-features/game-info-screen/index.md:1:1": page not found
ERROR [en] REF_NOT_FOUND: Ref "../playing-the-game/how-to-play": "~/.tmp/littlego-usermanual/littlego-usermanual/content/game-organization/current-game-variation/index.md:178:102": page not found
ERROR [en] REF_NOT_FOUND: Ref "../playing-the-game/how-to-play": "~/.tmp/littlego-usermanual/littlego-usermanual/content/game-organization/current-game-variation/index.md:188:84": page not found
ERROR [en] REF_NOT_FOUND: Ref "../other-features/game-info-screen": "~/.tmp/littlego-usermanual/littlego-usermanual/content/game-organization/current-game-variation/index.md:204:47": page not found
ERROR [en] REF_NOT_FOUND: Ref "../ui-basics/play-status-text": "~/.tmp/littlego-usermanual/littlego-usermanual/content/game-organization/current-game-variation/index.md:206:142": page not found
ERROR [en] REF_NOT_FOUND: Ref "../playing-the-game/scoring": "~/.tmp/littlego-usermanual/littlego-usermanual/content/game-organization/current-game-variation/index.md:208:19": page not found
ERROR [en] REF_NOT_FOUND: Ref "../ui-basics/tab-bar": "~/.tmp/littlego-usermanual/littlego-usermanual/content/playing-the-game/how-to-play/index.md:55:99": page not found
ERROR [en] REF_NOT_FOUND: Ref "../settings/computer-player": "~/.tmp/littlego-usermanual/littlego-usermanual/content/playing-the-game/how-to-play/index.md:57:145": page not found
ERROR [en] REF_NOT_FOUND: Ref "../game-organization/game-archive": "~/.tmp/littlego-usermanual/littlego-usermanual/content/technical-pages/sgf/index.md:28:92": page not found
ERROR [en] REF_NOT_FOUND: Ref "../game-organization/game-archive": "~/.tmp/littlego-usermanual/littlego-usermanual/content/technical-pages/sgf/index.md:40:112": page not found
ERROR [en] REF_NOT_FOUND: Ref "../game-organization/game-archive": "~/.tmp/littlego-usermanual/littlego-usermanual/content/technical-pages/sgf/index.md:64:131": page not found
Total in 35106 ms
Error: error building site: logged 55 error(s) |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot for debugging for me! I'm wondering: How could I have found out about this myself? I tried out the option
In any case, thanks to your input I now understand why my generated output is so much larger (123 MB) than my content folder (20 MB). For instance, Hugo generates a 26 MB
Interesting. I don't get these errors. In fact, at one point Hugo gave me a lot of errors about relative refs such as "../../ui-basics/tab-bar", I then changed them to use one directory level less, e.g. "../ui-basics/tab-bar". Now you tell me that these are again reported as incorrect on your system. How the heck is this possible? I'm using Hugo v0.124.1 (extended edition) on my machine:
|
Beta Was this translation helpful? Give feedback.
-
Just tried out the Geekdoc v0.45.0 release and it worked beautifully - processing is fast and the public folder is now much smaller! Thanks a lot for your fast response! And of course for the great theme!! |
Beta Was this translation helpful? Give feedback.
I've created #815 to address this issue, at least if
size=origin
is used.