mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-24 02:03:06 -05:00
02ee8cbbe2
This is a neat simple app that can display the Serenity manual ^)
18 lines
421 B
C++
18 lines
421 B
C++
#include "ManualPageNode.h"
|
|
#include "ManualSectionNode.h"
|
|
|
|
const ManualNode* ManualPageNode::parent() const
|
|
{
|
|
return &m_section;
|
|
}
|
|
|
|
NonnullOwnPtrVector<ManualNode>& ManualPageNode::children() const
|
|
{
|
|
static NonnullOwnPtrVector<ManualNode> empty_vector;
|
|
return empty_vector;
|
|
}
|
|
|
|
String ManualPageNode::path() const
|
|
{
|
|
return String::format("%s/%s.md", m_section.path().characters(), m_page.characters());
|
|
}
|