diff options
author | Fabio Berger <me@fabioberger.com> | 2018-03-04 00:03:51 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-03-04 00:03:51 +0800 |
commit | 1b5742fbf094ae9e5e745fa61760fb0a4eb871ec (patch) | |
tree | 18f20ee8426b91cf3f75dbd6da3f12492a33de84 | |
parent | 5794349d979be64deef0cf1cbb9e69b5691f99df (diff) | |
download | dexon-sol-tools-1b5742fbf094ae9e5e745fa61760fb0a4eb871ec.tar dexon-sol-tools-1b5742fbf094ae9e5e745fa61760fb0a4eb871ec.tar.gz dexon-sol-tools-1b5742fbf094ae9e5e745fa61760fb0a4eb871ec.tar.bz2 dexon-sol-tools-1b5742fbf094ae9e5e745fa61760fb0a4eb871ec.tar.lz dexon-sol-tools-1b5742fbf094ae9e5e745fa61760fb0a4eb871ec.tar.xz dexon-sol-tools-1b5742fbf094ae9e5e745fa61760fb0a4eb871ec.tar.zst dexon-sol-tools-1b5742fbf094ae9e5e745fa61760fb0a4eb871ec.zip |
Add hack comment
-rw-r--r-- | packages/website/ts/utils/typedoc_utils.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/website/ts/utils/typedoc_utils.ts b/packages/website/ts/utils/typedoc_utils.ts index 7acb0a7cb..eb4b05e04 100644 --- a/packages/website/ts/utils/typedoc_utils.ts +++ b/packages/website/ts/utils/typedoc_utils.ts @@ -69,6 +69,9 @@ export const typeDocUtils = { } else if (packageDefinitions.length === 1) { packageDefinitionWithMergedChildren = packageDefinitions[0]; } else { + // HACK: For now, if there are two modules to display in a single section, + // we simply concat the children. This works for our limited use-case where + // we want to display types stored in two files under a single section packageDefinitionWithMergedChildren = packageDefinitions[0]; for (let i = 1; i < packageDefinitions.length; i++) { packageDefinitionWithMergedChildren.children = [ |