Commit Graph

40 Commits

Author SHA1 Message Date
Sidharth Vinod 16f1dccd22
chore: Prettier 2024-03-23 15:24:18 +05:30
Sidharth Vinod 07117b4c8a
Merge branch 'develop' into feature/4661_gantt_customize_days_of_weekend 2024-03-22 15:28:50 +05:30
Ronid1 6005479918 update docs 2024-03-05 11:53:50 -08:00
Sidharth Vinod 38fcc2847b
Add release version in docs 2024-02-29 08:41:15 +05:30
Sidharth Vinod a9e67e4266
Fix spelling 2024-02-27 15:33:28 +05:30
Sidharth Vinod af3d728a72
Merge branch 'develop' into feature/3173_implement_until_keyword_in_gantt 2024-02-27 12:35:38 +05:30
Sidharth Vinod 9f8c87a1d8
Merge branch 'master' into develop
* master:
  Changes to intro.md 1. Removed the Slack link 2. Updated the Discord invite link
  Changes to intro.md 1. Removed the Slack invite and left only the Discord invite
  Changes to intro.md 1. Added a link to the Discord server
  Updated contributions file
  Update docs
  Mermaid version 10.8.0
2024-02-27 11:43:00 +05:30
Jason Dent 4a7489a7b6 chore: Update cspell and fix issues
- covert `cSpell.json` to `cspell.config.yaml`
- break up the word list into multiple dictionary files
- fix spelling issues
- Enable spell checking code for non-test files
2024-02-14 23:17:44 +01:00
Franck Zagala 280525b4b1 merge develop; resolve minor conflicts in docs/syntax/gantt.md 2024-01-27 12:27:34 +00:00
Sidharth Vinod 17066aab97
Merge branch 'master' of github.com:mermaid-js/mermaid into develop
* 'master' of github.com:mermaid-js/mermaid:
  docs: fix lint
  docs: move community to Discord
  Delete docs/syntax/gantt.html
  Add more detailed docs for Gantt tasks
  Update docs
  Update packages/mermaid/src/docs/syntax/flowchart.md
  Update flowchart.md #5195
2024-01-23 19:55:53 +05:30
Franck Zagala cafe932cbc implement until keyword in gantt charts 2024-01-22 20:11:27 +00:00
Soren L. Hansen e0ee9b1bc0
Add more detailed docs for Gantt tasks 2024-01-19 09:34:20 +05:30
murdoa e52fcd0bdd Updated gantt chart docs to show all config options 2024-01-11 22:24:50 +00:00
Thomas Ingram 4efac6721d Added missing integration tests and release version in docs. 2023-08-28 20:17:15 +10:00
Sidharth Vinod aa54127784
Set proper release version 2023-07-26 11:34:10 +05:30
Sidharth Vinod 21b90cbcd2
Add release version 2023-07-26 11:33:20 +05:30
Lei Nelissen cfe31fe89f chore: generate new docs 2023-07-14 14:13:18 +02:00
Lei Nelissen 03ce2810b5 feat: allow specifying on which weekday a tickInterval should start 2023-07-14 14:13:18 +02:00
sidharthv96 85fdbab6b9 Update docs 2023-06-29 05:16:38 +00:00
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 66c543cb8f.
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
Renamed from docs/gantt.md (Browse further)