file not found when md.file from other collections added to 'legal' #13
Labels
No Label
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
Defect
Feedback
Question
Roadmap
Story
Urgent
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: tfgrid/info_tfgrid#13
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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?
we're working on fixing errors on new 'legal' book.
the problem is when a link is mentioned on the book, the 'legal' book is not pulling any md files from other collections
for example:
on legal/definitions_legal.md, we mention ThreeFold Tech. the collection 'threefold' exists, and the md file threefold_tech.md exists, still it returns 404 page not found when previewed.
steps to check / fix:
open and edit mdbook, ran the cmd :
hero mdbook -u https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/heroscript/legal -e
found error:
page not found: threefold:threefold_tech.md
added a folder called 'collections/threefold' and a file name threefold_tech.md, saved
-- should be fixing the error, but not
open and edit mdbook, ran the cmd again :
hero mdbook -u https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/heroscript/legal -e
error still found:
page not found, but now it says not found: legal/threefold_tech.md . why cant it read that the file is under 'threefold' collection, not under 'legal' collection?
go to user/hero/www/info/legal/legal/definitions_legal.html, find the threefold tech, clicked

still returned 404 not found.
url error showing: file:///Users/sashaastiadi/hero/www/info/legal/legal/threefold/threefold_tech

pointing error because threefol_tech.md is not in collections/legal/threefold, it should be going to collections/threefold
file not found when collections addedto file not found when md.file from other collections added to 'legal'you have to add .collection in a folder to make sure it gets picked up
well it's now fixed! thanks for the help. closing