-
Notifications
You must be signed in to change notification settings - Fork 283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace index.mds with symbolic links to latest document version #175
Comments
@haacked do you have opinion on that? I had started to migrate the files but it looks the are too many files to resolve conflicts for them at once. I would start to make PRs language by language. I would divide it into smaller pieces:
|
In theory I love this idea, but the maintenance of it might be challenging. Would it be possible to script this in a batch file/shell script so that we can always fix this up easily? |
Yeah, it's possible to be done, maybe making a We are facing the same issue on conventional-commits, probably we'll migrate from jekyll to hugo and we won't need to use symlinks. I'll probably have some free time this week if it's ok for you I can work on it. |
The script should work well with git merge-file utility. I tested it locally and all tests were successful so far. |
I'm open to the idea. I'm not interested in moving away from Jekyll, so perhaps something I can run locally to fix up the files would work well. |
I think that custom Jekyll plugin put in Maybe there is an existing plugin, but I couldn't find any. |
It's really great idea and I'll investigate to it later. Added to semver/semver#573 |
I really like this idea, it will reduce translator's burden on manual sync latest version with index.md, and will not lead to a situation that some translator forget to write index.md but only translate the v2.0.0.md (was fixed in Vietnamese version) |
I hadn't noticed this issue yet, but I tried tackling this problem in another way in #448 (at least for the english part). It uses liquid to include I think it would be a good idea to review the complete workflow of getting different version of the spec and building it could be revised. It seems that it could be a lot easier. Also, why not include the translations in the spec repository? Because they are not the "original" spec? |
For now there is redundancy in the repository.
index.md
andspec/v2.0.0.md
are intended to be equal for main directory and translations.It causes confusion and unsyncing of files because of one-file edits in translations (b43f3ef, 4fa99c5, aafc4b3).
Symbolic links would make things simple. Jekyll handles them well on filesystems supporting symbolic links.
What do you think?
The text was updated successfully, but these errors were encountered: