Comments (13)
I think that could be a limitation of docsify as it's currently setup.
From what I can tell the details are generates and filled in when the page loads using JS. However for meta information on embeds it has to be done server side I believe.
There is a method by the looks of it to do server side rendering with docsify which I can setup. However it would mean the server has to do slightly more work per request but I think it shouldn't be much of an issue.
Shall I give server side rendering a try?
from helium-guides.
IPv6 hassle is causing issues with docsify downloading packages it needs to run serverside. To fix this I'd need it moving to a proper VPS rather than the Pi we're using currently.
from helium-guides.
Maybe not really such a big deal. I guess we could just put it on our VPS although that's running Apache bit nginx so might be a pain.
What's the issue with the package downloads?
from helium-guides.
NPM doesn't like IPv6 so I need a proper server with IPv4 and not a Pi.
from helium-guides.
@ryanteck ah ok...so even with the reverse proxy it's getting angry?
from helium-guides.
@ryanteck maybe this will help? https://npm.community/t/npm-fails-to-install-on-ipv6-only-networks/9508/3
from helium-guides.
This seems to be the core issue nodejs/node#31567
from helium-guides.
I tried a few of the fixes but still had issues, the core issue is only renting a server with IPv6 as I've never had an issue with any other hosting service.
from helium-guides.
Do not know it this helps, but here a way to disable IPv6 on Debian (like Raspberry Pi):
https://www.itzgeek.com/how-tos/linux/debian/how-to-disable-ipv6-on-debian-9-ubuntu-16-04.html
from helium-guides.
@tvoverbeek the issue is that the Pi rented out to run the site only has IPv6 connectivity. Disabiling it would brick it.
NPM is slightly buggy with this IPv6 only config as if it gets an IPv4 address returned from DNS it defaults to IPv4.
I can spend time working around it, but at the same time a Pi isn't really suitable, is slower and overall worse than renting a proper VPS (which gives backups etc).
from helium-guides.
Looks like there's some tweaks I need to make to get SSR working even locally.
ryan@ryan-B450-AORUS-M:~/Helium-Guides$ npm start
> helium-guides@ start /home/ryan/Helium-Guides
> docsify start . -c ssr.config.js
[SSR] Serving . now.
Listening at http://localhost:4000
TypeError: Cannot read property 'indexOf' of undefined
at AbstractHistory.parse (/home/ryan/Helium-Guides/node_modules/docsify-server-renderer/build.js:267:27)
at Compiler.compile (/home/ryan/Helium-Guides/node_modules/docsify-server-renderer/build.js:813:37)
at Renderer.<anonymous> (/home/ryan/Helium-Guides/node_modules/docsify-server-renderer/build.js:1384:28)
at Generator.next (<anonymous>)
from helium-guides.
@ryanteck don't think it's a particular urgent issue to sort this metadata issue right now. Can wait.
Could move the docs to our VPS though if it's causing issues. No biggie
from helium-guides.
Closing for now, unfortunately a limitation with docsify.
from helium-guides.
Related Issues (20)
- Nebra offline and not syncing blockchain HOT 1
- rockpi block diagram HOT 10
- start creating 5g guides HOT 2
- start creating rockpi outdoor guides HOT 2
- reduce image and pdf size HOT 5
- Miner RPC unavailable for over a week now. HOT 1
- nebra hotspot not found on onboarding server
- PDF generator not working properly
- Image file to re-flash EMMC/SD card for Outdoor Miner HOT 1
- Create guides for setting up RAK and other devices on Balena OpenFleets HOT 4
- HotSpot Not Found On Boarding Server HOT 1
- Update Google analytics to GA4 HOT 3
- Poe not working HOT 2
- Hotspot not found on onbording server HOT 1
- Light hotspot case files HOT 2
- Miner issues indoor and outdoor HOT 4
- Outdoor hotspot certification
- Miner going offline HOT 1
- how to get refund HOT 1
- Controllino not wintness with a nebra software HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from helium-guides.