21 Commits

Author SHA1 Message Date
chriskim-au1
3b861ab91f doc update 2023-04-05 13:11:22 +10:00
Ch K
721208e981
auto generated from pnpm run 2023-04-05 11:31:44 +10:00
Ch K
ee455c1edb
auto generated from pnpm run 2023-04-05 11:26:28 +10:00
Jeremy Funk
ba1c5dc6c7 Change to using display mode yaml 2023-03-25 01:56:50 +01:00
Jeremy Funk
2d815e9626 Add documentation 2023-03-24 00:09:06 +01:00
Alois Klink
a5db04b01c refactor(deps): replace moment with dayjs
Replace Mermaid's dependency on `moment` with `dayjs`.

[Moment is now in maintenance mode][1], and they don't recommend
using it.

[Dayjs][2] has almost exactly the same API as moment, and is still
curently being maintained. Unlike moment, dayjs objects are immutable,
which makes our life much easier, but we need to do
`a = a.add(1, "day")` instead of just `a.add(1, "day")`.

We can't use `dayjs.duration`, because unlike `moment.duration`,
[dayjs durations always degrade to ms][3].
This causes issues with daylight savings, since it assumes that each
day is 24 hours, when some days have 23/25 hours with daylight savings.
(it also assumes that each month is 30 days).

However, `dayjs.add(1, "d");` correctly adds 1 days, even when that
day is only 23 hours long, so we can use that instead.

[1]: https://momentjs.com/docs/#/-project-status/
[2]: https://day.js.org/
[3]: https://day.js.org/docs/en/durations/durations
2023-02-26 22:31:12 +00:00
Alois Klink
75b19eaa0c chore(docs): run pnpm run docs:build with GFM
Rebuild docs with `remark-gfm` GitHub-Flavored-Markdown parser.
2023-01-01 21:28:03 +00:00
steph
22b66193dc update outdate format info formatting 2022-12-21 11:24:48 -08:00
steph
e4622ba06e fix text overflow 2022-12-11 20:53:14 -08:00
Sebastian Spier
6543ece92c Fix display label/path for explaining where the docs are located 2022-11-08 13:53:18 +01:00
Sebastian Spier
62f3c4baa6 Revert "Running 'pnpm --filter mermaid run docs:build' as suggested by the previously failing 'lint' GHA"
This reverts commit 66c543cb8fd8bb52451ff96231976bf2949f7f22.
2022-11-07 23:07:04 +01:00
Sebastian Spier
66c543cb8f Running 'pnpm --filter mermaid run docs:build' as suggested by the previously failing 'lint' GHA 2022-11-07 23:00:40 +01:00
Sebastian Spier
a19622c807 Revert content of /docs to what is on the develop branch 2022-11-07 22:48:44 +01:00
Sebastian Spier
b5d335711f Fixing link to d3 time formatting 2022-11-07 20:23:24 +01:00
Sebastian Spier
4a45112344 Replace links to '_sidebar.md' with '.vitepress/config.ts' 2022-11-07 10:43:46 +01:00
Sidharth Vinod
41f228c3ff
chore: Sync docs 2022-11-04 11:45:20 +05:30
Sidharth Vinod
86f835cfc8
Merge branch 'develop' into pr/emersonbottero/3678
* develop:
  chore(docs): Update live editor links
  update user story link
  feat(gantt): Add option 'tickInterval' for custom tick interval
  Convert attr to classed
  Convert attr to style
2022-11-01 21:01:58 +05:30
Sidharth Vinod
e1d9d0b990
chore: Fix doc links 2022-10-29 00:46:25 +05:30
Emerson Bottero
c45bf055b6 docs: added warning and notes 2022-10-17 23:58:51 -03:00
Emerson Bottero
c8b377bf74 docs: small improvements 2022-10-17 19:32:47 -03:00
Emerson Bottero
cbcf7f8a11 docs: new Documentation 2022-10-15 00:50:11 -03:00