Local folder with subfolders
See original GitHub issue@JustinBeckwith: I’m trying to add linkinator in the nodejs.org repo.
The file structure there is like this:
build/
ar/
index.html
<more folders>/
index.html
ca/
index.html
<more folders>/
index.html
en/
index.html
<more folders>/
index.html
<more folders>/
static/
So, if I do linkinator build/ --recurse
it fails because it doesn’t see an index.html. If I do linkinator build/en --recurse
then I get false positives because linkinator can’t find the root.
Is there a workaround or something you could do about it?
Thanks in advance!
Issue Analytics
- State:
- Created 4 years ago
- Comments:19 (13 by maintainers)
Top Results From Across the Web
Create a subfolder - Microsoft Support
To help keep your emails organized, you can create subfolders or personal folders by using the New Folder tool. Click Folder > New...
Read more >How do I create sub-folders (nested folders) in Thunderbird?
Subfolders (nested folders) allow you to organize your mailboxes in multiple levels of folders. This can be helpful in sorting and managing large...
Read more >Moving Local Directory All Folder and SubFolders with files to ...
Inside Folder I have another two subfolder name as Cruz0 and Cruz1. Cruz1 a(some format like txt,png) b(some format like txt,png) c(some format ......
Read more >How can I keep a local and remote folder (with subfolders ...
1 Answer 1 ... You need to add a rsync command as a cron. This will sync the changes automatically between the local...
Read more >Folders and subfolders - Nimbus Platform
There are several ways to create a subfolder: Move your mouse over the local folder / subfolder and click on +. Enter the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Alright, I successfully managed to set a CLI solution but that scans only one locale.
So, I figure we need to use the API, right? Not very familiar with it but it seems linkinator returns a Promise so my first attempt doesn’t work.
If you have any time, here’s my WIP branch with the API solution https://github.com/nodejs/nodejs.org/compare/master...XhmikosR:master-xmr-linkinator-2
First, I want to at least land the English locale CLI scanning on https://github.com/nodejs/nodejs.org/pull/2565 and then see how we can improve things with using the API directly.
Thanks, using the server root works now!