aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sol-doc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/sol-doc')
-rw-r--r--packages/sol-doc/src/solidity_doc_generator.ts3
-rw-r--r--packages/sol-doc/test/solidity_doc_generator_test.ts5
2 files changed, 2 insertions, 6 deletions
diff --git a/packages/sol-doc/src/solidity_doc_generator.ts b/packages/sol-doc/src/solidity_doc_generator.ts
index fa3c40dcc..a4eb403a8 100644
--- a/packages/sol-doc/src/solidity_doc_generator.ts
+++ b/packages/sol-doc/src/solidity_doc_generator.ts
@@ -9,11 +9,10 @@ import { SolidityDocFormat } from './solidity_doc_format';
export class SolidityDocGenerator {
private readonly _compilerOptions: CompilerOptions;
- constructor(contractsDir: string, artifactsDir: string) {
+ constructor(contractsDir: string) {
// instantiate sol-compiler, passing in options to say we want abi and devdoc
this._compilerOptions = {
contractsDir,
- artifactsDir,
contracts: '*',
compilerSettings: {
outputSelection: {
diff --git a/packages/sol-doc/test/solidity_doc_generator_test.ts b/packages/sol-doc/test/solidity_doc_generator_test.ts
index 697974c6e..1df3e5b44 100644
--- a/packages/sol-doc/test/solidity_doc_generator_test.ts
+++ b/packages/sol-doc/test/solidity_doc_generator_test.ts
@@ -10,10 +10,7 @@ const expect = chai.expect;
describe('#SolidityDocGenerator', () => {
it('should generate', async () => {
- const generator = new SolidityDocGenerator(
- `${__dirname}/../../test/fixtures/contracts`,
- `${__dirname}/../../test/fixtures/artifacts`,
- );
+ const generator = new SolidityDocGenerator(`${__dirname}/../../test/fixtures/contracts`);
const doc = await generator.generateAsync(['TokenTransferProxy']);