When viewing the files generated by publish-sma in my browser (served using python -m http.server), I only see the 14 pages that I explicitly marked as public.
However, I expected to see all 101 pages of my graph, because I enabled the "All pages public when publishing" setting.
When viewing the standalone HTML file generated from the logseq windows application, I see all 101 files.
Reproduce the Bug
Create a new graph
Create a page in the graph. Make sure it is not public.
Go to Settings > Editor. Enable "All pages public when publishing".
Go to Export > "Export public pages"
View the generated HTML file in browser. Under "All Pages", you should see your page.
Next, generate the site using publish-spa.
Serve the generated files (eg. cd generated-folder && python -m http.server -> defaults to port 8000)
Visit localhost:8000 (or wherever else you served the files). Under "All Pages", you won't see your page.
Expected Behavior
I expected pages to be exported even though they weren't explicitly marked as public because the All pages public when publishing toggle was turned on.
Desktop or Mobile Platform Information
Linux reubjohn-linux 5.4.0-187-generic #207~18.04.1-Ubuntu SMP Thu Jun 13 15:01:12 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
What Happened?
When viewing the files generated by publish-sma in my browser (served using
python -m http.server
), I only see the 14 pages that I explicitly marked as public. However, I expected to see all 101 pages of my graph, because I enabled the "All pages public when publishing" setting.When viewing the standalone HTML file generated from the logseq windows application, I see all 101 files.
Reproduce the Bug
cd generated-folder && python -m http.server
-> defaults to port 8000)Expected Behavior
I expected pages to be exported even though they weren't explicitly marked as public because the All pages public when publishing toggle was turned on.
Desktop or Mobile Platform Information
Linux reubjohn-linux 5.4.0-187-generic #207~18.04.1-Ubuntu SMP Thu Jun 13 15:01:12 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
LOGSEQ_PUBSPA_VERSION=0.3.1 LOGSEQ_VERSION=0.10.6