29 #include <chrono> |
29 #include <chrono> |
30 #include <array> |
30 #include <array> |
31 |
31 |
32 namespace html { |
32 namespace html { |
33 |
33 |
|
34 static constexpr unsigned max_indentation = 16; |
|
35 static constexpr unsigned max_external_indentation = max_indentation - 4; |
34 static constexpr unsigned columns = 53; |
36 static constexpr unsigned columns = 53; |
35 |
37 |
36 void open(bool fragment); |
38 void open(bool fragment, unsigned char fragment_indent = 0); |
37 void close(bool fragment); |
39 void close(bool fragment); |
38 |
40 |
39 void chart_begin(const std::string& repo, const std::string& author); |
41 void chart_begin(const std::string& repo, const std::string& author); |
40 void chart_end(); |
42 void chart_end(); |
41 void heading_repo(const std::string& repo); |
43 void heading_repo(const std::string& repo); |