| 404 | } |
| 405 | |
| 406 | void cmRST::ProcessDirectiveTocTree() |
| 407 | { |
| 408 | // Process documents referenced by toctree directive. |
| 409 | for (std::string const& line : this->MarkupLines) { |
| 410 | if (!line.empty() && line[0] != ':') { |
| 411 | if (this->TocTreeLink.find(line)) { |
| 412 | std::string const& link = this->TocTreeLink.match(1); |
| 413 | this->ProcessInclude(link + ".rst", Include::TocTree); |
| 414 | } else { |
| 415 | this->ProcessInclude(line + ".rst", Include::TocTree); |
| 416 | } |
| 417 | } |
| 418 | } |
| 419 | } |
| 420 | |
| 421 | void cmRST::UnindentLines(std::vector<std::string>& lines) |
| 422 | { |
no test coverage detected