mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
changedthe output style of the Natspec docstring
This commit is contained in:
parent
251b5ae84e
commit
0111d3d4c4
@ -165,7 +165,7 @@ void InterfaceHandler::generateUserDocumentation(ContractDefinition& _contractDe
|
||||
}
|
||||
doc["methods"] = methods;
|
||||
|
||||
_contractDef.setUserDocumentation(Json::FastWriter().write(doc));
|
||||
_contractDef.setUserDocumentation(Json::StyledWriter().write(doc));
|
||||
}
|
||||
|
||||
unique_ptr<string> InterfaceHandler::userDocumentation(ContractDefinition const& _contractDef)
|
||||
@ -239,7 +239,7 @@ void InterfaceHandler::generateDevDocumentation(ContractDefinition& _contractDef
|
||||
}
|
||||
doc["methods"] = methods;
|
||||
|
||||
_contractDef.setDevDocumentation(Json::FastWriter().write(doc));
|
||||
_contractDef.setDevDocumentation(Json::StyledWriter().write(doc));
|
||||
}
|
||||
|
||||
/* -- private -- */
|
||||
|
Loading…
Reference in New Issue
Block a user