ci: Make Relative Script for CI/CD and Decentralization #4
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: DECA/docs#4
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The goal is to do a make relative script.
Issues
Currently there is an issue that when the website is decentralized over IPFS, the address is the
directory IPFS CID, usually the build static sites do not have a relative links which is the recomended way to access ipfs websites[1].
Also an specific of some sites the startpage usully directs to index.html as a file but not a path which should be either the domain in case of using something like IPNS poiting to the main directory or perhaps using
/
instead (but this is still untested).ToDo
Research on all-relative[2] and make-relative[3]: diferences and if they fix the issue with the index.html
Make test con changing the index.html to / or look for possible solutions on mdbooks similar to middleman config for ipfs[4].
Write the script to build and make relative
Document the procedure in the
README.md
References
it seems that make-relative compared to all-relative can rewrite the
index.html
path to the domain name and thus the IPNS, which also fixes the issues if other sites that cannot disable redirect toindex.html
.The following steps also need to be forefilled: