Skip to content

Commit

Permalink
add the --tsIndexFiles switch and generate the index.ts entry file to…
Browse files Browse the repository at this point in the history
… add descriptions to module topics (#100)

* wip: entry file to add descriptions to module topics

* wip: add the --tsIndexFiles switch and generate index.ts

* wip: remove static copy of index .ts to avoid build error - we don't need to build it
  • Loading branch information
jchick-bentley authored Feb 13, 2024
1 parent dfcf0d4 commit c481b2e
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ node.exe
manifest.itsyn.yml

# documentation
documentation/file.json
documentation/file.json
documentation/index.ts
1 change: 0 additions & 1 deletion documentation/index.html

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"test:standalone": "npm run build && nyc mocha --grep standalone",
"test:integration": "npm run build && nyc mocha --grep integration",
"test:connector": "node lib/test/TestConnector/Main.js test/assets/TestArgs.json",
"documentation": "cross-env RUSHSTACK_FILE_ERROR_BASE_FOLDER=$npm_config_local_prefix betools docs --source=./src --out=./documentation --json=./documentation/file.json --onlyJson"
"documentation": "cross-env RUSHSTACK_FILE_ERROR_BASE_FOLDER=$npm_config_local_prefix betools docs --source=./src --out=./documentation --json=./documentation/file.json --tsIndexFile=./connector-framework.ts --onlyJson"

},
"keywords": [
Expand Down
47 changes: 47 additions & 0 deletions src/connector-framework.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,50 @@ export * from "./LoggerCategory";
export * from "./ConnectorRunner";
export * from "./BaseConnector";
export * from "./Synchronizer";

/** @docs-package-description
* The connector-framework package contains classes for [authoring iTwin Connectors]($docs/learning/WriteAConnector.md).
*/

/**
* @docs-group-description Args
* Classes for storing the command line arguments for an iTwin Connector.
*/

/**
* @docs-group-description BaseConnector
* The base class for all iTwin Connectors.
*/

/**
* @docs-group-description ConnectorIssueReporter
* Class for reporting an iTwin Connector's status and/or errors back to orchestrators or othe callers/launchers of Connectors.
*/


/**
* @docs-group-description ConnectorRunner
* Class responsible for loading the connector from a JavaScript source file and running it.
*/


/**
* @docs-group-description Framework
* Class describing the overall package as an aggregation of the various component classes: ConnectorRunner, BaseConnector, Synchronizer, etc.
*/


/**
* @docs-group-description LoggerCategories
* Enumeration for all logger categories in this package.
*/


/**
* @docs-group-description SqliteIssueReporter
* A Subclass of a ConnectorIssueReporter for SQLite related issues.
*/




0 comments on commit c481b2e

Please sign in to comment.