Closed juggernautjp closed 9 months ago
Hello! There's a strange case where the english name of the anchor is appearing in text next to the headings:
This isn't present in the other translations, for example Chinese:
I want to take a look at the issue but I cannot yarn dev
(on MacOS and node v18). Could you tell me how I can build the website locally? @cannikin
What problem did you have running it locally @TonalidadeHidrica?
@arp242 Running yarn dev, I got an error like Error: error:0308010C:digital envelope routines::unsupported. I googled it and figured out that it is happening on webpack and can be temporarily suppressed by NODE_OPTIONS='--openssl-legacy-provider.
Now webpack succeeds, but I got 404 errors no matter what page I access. Am I doing something wrong?
Yeah, some of the redirects seem broken if only the spec is translated but not the rest of the website.
I don't know why either, I never looked at this repo before today.
But directly accessing e.g. http://localhost:8000/ja/v1.0.0.html should work.
I guess that's issue #35 (?)
Also: you can click "details" after "Deploy Preview ready!" in the GitHub CI, so seems you don't strictly need to run it locally in the first place: https://deploy-preview-68--toml-io.netlify.app/ja/v1.0.0.html
@TonalidadeHidrica try a yarn build
first, then yarn dev
!
@cannikin Thanks, after running yarn build
the built page showed up by directly entering the correct URL! But it seems that yarn dev
still does not relfect the updates automatically and I have to run yarn build && yanr serve
every single time I make changes... But at least it worked.
Yeah if you're changing the specs themselves you'll need to do a build, it has to compile them into the HTML for display. But making changes to the site pages are picked up automatically by yarn dev
!
Latest version (v1.0.0) has not translated to Japanese. So, I translated TOML v1.0.0 to Japanese and add specs/ja/v1.0.0.md.
Thank you in advance, if you merge the latest Japanese specs.