Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: typedoc2md/typedoc-plugin-markdown
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: typedoc-plugin-markdown@3.16.0
Choose a base ref
...
head repository: typedoc2md/typedoc-plugin-markdown
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: typedoc-plugin-markdown@3.17.0
Choose a head ref
  • 13 commits
  • 48 files changed
  • 3 contributors

Commits on Sep 5, 2023

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    ed59ace View commit details

Commits on Sep 7, 2023

  1. Merge pull request #467 from carlosingles/bugfix/spaces-in-files

    fix: spaces in filenames results in broken links
    tgreyuk authored Sep 7, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    5810194 View commit details
  2. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    29f3539 View commit details
  3. chore: bump version

    tgreyuk committed Sep 7, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    7e82a59 View commit details
  4. chore: Updated snapshot

    tgreyuk committed Sep 7, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    2362a0e View commit details
  5. chore: bump version

    tgreyuk committed Sep 7, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    836aa80 View commit details

Commits on Sep 19, 2023

  1. fix: CLI command skips unrelated plugins

    The generate-typedoc CLI command would run typedoc on every plugin
    instance defined on the site, not just for the current one. This would
    cause generation to fail with errors "Tried to set an option that was
    not declared", since the config for other plugins would not pass the
    validation for this plugin.
    
    This fix checks that the plugin name matches the current one before
    running generateTypedoc on it.
    spalladino committed Sep 19, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    643b14c View commit details

Commits on Sep 25, 2023

  1. Merge pull request #472 from spalladino/fix/cli-command-with-multiple…

    …-plugins
    
    fix: CLI command skips unrelated plugins
    tgreyuk authored Sep 25, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    39b60ee View commit details

Commits on Sep 26, 2023

  1. chore: Update version

    tgreyuk committed Sep 26, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    fcea65c View commit details

Commits on Nov 1, 2023

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    fd75c07 View commit details
  2. fix: Support MDXv2 (#491)

    tgreyuk committed Nov 1, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    29857f5 View commit details
  3. chore: re enabled specs

    tgreyuk committed Nov 1, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    04368cf View commit details
  4. chore: Updated version

    tgreyuk committed Nov 1, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    bb7717a View commit details
Showing with 17,874 additions and 11,199 deletions.
  1. +6 −6 .github/workflows/ci.yml
  2. +12 −1 examples/docusaurus/docusaurus.config.js
  3. +1 −0 examples/docusaurus/package.json
  4. +1 −12 examples/docusaurus/sidebars.js
  5. +3 −0 examples/docusaurus/typedoc.json
  6. +7,758 −0 examples/docusaurus/yarn.lock
  7. +23 −0 examples/docusaurus3/.gitignore
  8. +41 −0 examples/docusaurus3/README.md
  9. +3 −0 examples/docusaurus3/babel.config.js
  10. +143 −0 examples/docusaurus3/docusaurus.config.js
  11. +41 −0 examples/docusaurus3/package.json
  12. +20 −0 examples/docusaurus3/sidebars.js
  13. +27 −0 examples/docusaurus3/src/pages/index.js
  14. 0 examples/docusaurus3/static/.nojekyll
  15. BIN examples/docusaurus3/static/img/docusaurus.png
  16. BIN examples/docusaurus3/static/img/favicon.ico
  17. +1 −0 examples/docusaurus3/static/img/logo.svg
  18. +8,557 −0 examples/docusaurus3/yarn.lock
  19. +6 −6 jest.config.base.js
  20. +1 −7 jest.helpers.ts
  21. +7 −3 package.json
  22. +18 −0 packages/docusaurus-plugin-typedoc/CHANGELOG.md
  23. +3 −2 packages/docusaurus-plugin-typedoc/package.json
  24. +4 −0 packages/docusaurus-plugin-typedoc/src/options.ts
  25. +27 −19 packages/docusaurus-plugin-typedoc/src/plugin.ts
  26. +1 −1 packages/docusaurus-plugin-typedoc/src/types.ts
  27. +4 −0 packages/docusaurus-plugin-typedoc/test/specs/__snapshots__/options.spec.ts.snap
  28. +0 −2 packages/docusaurus-plugin-typedoc/test/specs/__snapshots__/plugin.spec.ts.snap
  29. +6 −0 packages/typedoc-gitlab-wiki-theme/CHANGELOG.md
  30. +1 −1 packages/typedoc-gitlab-wiki-theme/package.json
  31. +1 −1 packages/typedoc-gitlab-wiki-theme/src/theme.ts
  32. +6 −0 packages/typedoc-plugin-markdown/CHANGELOG.md
  33. +38 −0 packages/typedoc-plugin-markdown/lint.mdx.mjs
  34. +5 −2 packages/typedoc-plugin-markdown/package.json
  35. +1 −1 packages/typedoc-plugin-markdown/src/resources/helpers/declaration-title.ts
  36. +5 −1 packages/typedoc-plugin-markdown/src/resources/helpers/reflection-title.ts
  37. +2 −2 packages/typedoc-plugin-markdown/src/resources/helpers/signature-title.ts
  38. +3 −3 packages/typedoc-plugin-markdown/src/resources/helpers/type.ts
  39. +3 −1 packages/typedoc-plugin-markdown/src/utils.ts
  40. +14 −14 packages/typedoc-plugin-markdown/test/specs/__snapshots__/declarations.spec.ts.snap
  41. +0 −13 packages/typedoc-plugin-markdown/test/specs/__snapshots__/front-matter.spec.ts.snap
  42. +2 −2 packages/typedoc-plugin-markdown/test/specs/__snapshots__/generics.spec.ts.snap
  43. +0 −2 packages/typedoc-plugin-markdown/test/specs/__snapshots__/index.spec.ts.snap
  44. +0 −3 packages/typedoc-plugin-markdown/test/specs/__snapshots__/options.spec.ts.snap
  45. +6 −7 packages/typedoc-plugin-markdown/test/specs/__snapshots__/signatures.spec.ts.snap
  46. +4 −4 packages/typedoc-plugin-markdown/test/specs/__snapshots__/types.spec.ts.snap
  47. +0 −2 stub-project/README.md
  48. +1,069 −11,081 yarn.lock
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -18,11 +18,11 @@ jobs:
run: yarn install
- name: Install
run: yarn
- name: Lint
run: yarn run lint
- name: Lint Code
run: yarn run lint:code
- name: Build
run: yarn run build
- name: Markdownlint
run: yarn run markdownlint
#- name: Test
# run: yarn test
- name: Lint Markdown
run: yarn run lint:md
- name: Test
run: yarn test
13 changes: 12 additions & 1 deletion examples/docusaurus/docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion
const path = require('path');

const lightCodeTheme = require('prism-react-renderer/themes/github');
const darkCodeTheme = require('prism-react-renderer/themes/dracula');

const docusaurusPlugin = path.join(
__dirname,
'..',
'..',
'packages',
'docusaurus-plugin-typedoc',
'dist',
);

/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'My Site',
@@ -29,14 +39,15 @@ const config = {
// Additional plugins
plugins: [
[
'docusaurus-plugin-typedoc',
docusaurusPlugin,
{
entryPoints: ['../../stub-project/src/index.ts'],
tsconfig: '../../stub-project/tsconfig.json',
plugin: ['typedoc-plugin-mdn-links'],
sidebar: {
autoConfiguration: true,
position: 0,
indexLabel: 'Custom Index Label',
},
cleanOutputDir: true,
},
1 change: 1 addition & 0 deletions examples/docusaurus/package.json
Original file line number Diff line number Diff line change
@@ -4,6 +4,7 @@
"private": true,
"scripts": {
"docusaurus": "docusaurus",
"prestart": "cd ../../packages/docusaurus-plugin-typedoc && npm run build",
"start": "docusaurus start",
"build": "docusaurus build",
"swizzle": "docusaurus swizzle",
13 changes: 1 addition & 12 deletions examples/docusaurus/sidebars.js
Original file line number Diff line number Diff line change
@@ -14,18 +14,7 @@
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = {
// By default, Docusaurus generates a sidebar from the docs folder structure
tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],

// But you can create a sidebar manually
/*
tutorialSidebar: [
{
type: 'category',
label: 'Tutorial',
items: ['hello'],
},
],
*/
sidebar: [{ type: 'autogenerated', dirName: '.' }],
};

module.exports = sidebars;
3 changes: 3 additions & 0 deletions examples/docusaurus/typedoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"name": "project-name"
}
Loading