Skip to content

Commit

Permalink
Merge pull request #2772 from bitshares/release
Browse files Browse the repository at this point in the history
Merge release branch into testnet branch
  • Loading branch information
abitmore committed Jul 15, 2023
2 parents 1d790fe + bbf3933 commit 2950914
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 10 deletions.
4 changes: 2 additions & 2 deletions Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ PROJECT_NAME = "BitShares-Core"
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = "6.1.0"
PROJECT_NUMBER = "7.0.0"

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
# quick idea about the purpose of the project. Keep the description short.

PROJECT_BRIEF = "BitShares blockchain implementation and command-line interface software"
PROJECT_BRIEF = "BitShares blockchain node software and command-line wallet software"

# With the PROJECT_LOGO tag one can specify a logo or an icon that is included
# in the documentation. The maximum height of the logo should not exceed 55
Expand Down
3 changes: 2 additions & 1 deletion libraries/chain/include/graphene/chain/asset_object.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,8 @@ namespace graphene { namespace chain {
///@}

/// @return true if the individual settlement pool is not empty and the bitasset's black swan response method
/// (BSRM) is @ref bitasset_options::black_swan_response_type::individual_settlement_to_fund,
/// (BSRM) is @ref
/// graphene::protocol::bitasset_options::black_swan_response_type::individual_settlement_to_fund,
/// false otherwise
bool is_individually_settled_to_fund()const
{
Expand Down
23 changes: 16 additions & 7 deletions libraries/wallet/generate_api_documentation.pl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#include <graphene/wallet/wallet.hpp>
namespace graphene { namespace wallet {
namespace detail
namespace detail
{
struct api_method_name_collector_visitor
{
Expand All @@ -29,7 +29,7 @@
}
};
}
api_documentation::api_documentation()
{
END
Expand Down Expand Up @@ -110,17 +110,26 @@ sub formatDocComment

for (my $i = 0; $i < @{$doc}; ++$i)
{
if ($doc->[$i] eq 'params')
if (($doc->[$i] eq 'params') # doxygen version 1.8.11 (Ubuntu 16.04) or 1.8.13 (Ubuntu 18.04)
or ($doc->[$i]->{params})) # doxygen version 1.8.17 (Ubuntu 20.04)
{
$paramDocs .= "Parameters:\n";
@parametersList = @{$doc->[$i + 1]};
if ($doc->[$i] eq 'params')
{
++$i;
@parametersList = @{$doc->[$i]};
}
else
{
@parametersList = @{$doc->[$i]->{params}};
}
for my $parameter (@parametersList)
{
my $declname = $parameter->{parameters}->[0]->{name};
my $decltype = cleanupDoxygenType($paramInfo->{$declname}->{type});
$paramDocs .= Text::Wrap::fill(' ', ' ', "$declname: " . formatDocComment($parameter->{doc}) . " (type: $decltype)") . "\n";
$paramDocs .= Text::Wrap::fill(' ', ' ', "$declname: " . formatDocComment($parameter->{doc})
. " (type: $decltype)") . "\n";
}
++$i;
}
elsif ($doc->[$i]->{return})
{
Expand Down Expand Up @@ -154,7 +163,7 @@ sub formatDocComment
my $result = Text::Wrap::fill('', '', $bodyDocs);
$result .= "\n\n" . $paramDocs if $paramDocs;
$result .= "\n\n" . $returnDocs if $returnDocs;

return $result;
}

Expand Down

0 comments on commit 2950914

Please sign in to comment.