Skip to content

Commit

Permalink
not working
Browse files Browse the repository at this point in the history
  • Loading branch information
crguezl committed Jan 22, 2025
1 parent 6b214fb commit 474847f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ Has to be written s.t. like in [here](https://tc39.es/proposal-temporal/).
Reference documentation and examples can be found below.

- [Temporal Documentation (English)](https://tc39.es/proposal-temporal/docs/index.html)
- [Temporal のドキュメント (Japanese)](https://tc39.es/proposal-temporal/docs/ja/index.html) (translated a part of the English document into Japanese)
- [Temporal 文档 (Chinese)](https://tc39.es/proposal-temporal/docs/zh_CN/index.html) (translated a part of the English document into Chinese)

A cookbook to help you get started and learn the ins and outs of Temporal is available [here](https://tc39.es/proposal-temporal/docs/cookbook.html)

Expand Down
4 changes: 1 addition & 3 deletions docs/buildDocs.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ async function go() {
const tail = await fs.readFile('tail.html.part', { encoding });

// read files and return content with sub dir structure
const basePaths = ['.', './ja', './zh_CN'];
const basePaths = ['.' ];
const files = await Promise.all(
basePaths.map(async (base) => {
return (await fs.readdir(base)).map((file) => ({
Expand Down Expand Up @@ -172,8 +172,6 @@ async function go() {
await Promise.all(
[
['../out/docs/README.html', '../out/docs/index.html'],
['../out/docs/ja/README.html', '../out/docs/ja/index.html'],
['../out/docs/zh_CN/README.html', '../out/docs/zh_CN/index.html'],
['node_modules/prismjs/themes/prism.css', '../out/docs/prism.css']
].map(([file1, file2]) => {
return fs.copyFile(path.resolve(file1), path.resolve(file2));
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"format": "emu-format --write spec.html spec/*.html",
"prebuild": "mkdirp out/docs/assets",
"pretty": "eslint . --ext js,mjs,.d.ts --fix",
"build": "npm run build:polyfill && npm run build:docs && npm run build:spec",
"build": "npm run build:docs",
"update": "./update_deps.sh"
},
"repository": {
Expand Down

0 comments on commit 474847f

Please sign in to comment.