/* * Copyright (c) 2019-2020, Sergey Bugaev * * SPDX-License-Identifier: BSD-2-Clause */ #include "ManualPageNode.h" #include "ManualSectionNode.h" const ManualNode* ManualPageNode::parent() const { return &m_section; } NonnullOwnPtrVector& ManualPageNode::children() const { static NonnullOwnPtrVector empty_vector; return empty_vector; } String ManualPageNode::path() const { return String::formatted("{}/{}.md", m_section.path(), m_page); }