Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/build_docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y doxygen
make install-deps
pip install -r docs/requirements.txt

- name: Build API
run: |
Expand All @@ -63,6 +63,7 @@ jobs:
mkdir -p /tmp/site
cp -r ./_build/html/* /tmp/site/
cd -
touch .nojekyll

- name: Deploy to gh-pages
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@
.. https://github.com/apache/paimon/blob/master/docs/content/concepts/basic-concepts.md

Basic Concepts
=========================
========================

File Layouts
-------------------------
------------------------
All files of a table are stored under one base directory. Paimon files are
organized in a layered style. The following image illustrates the file layout.
Starting from a snapshot file, Paimon readers can recursively access all records
from the table.

.. image:: ../_static/file-layout.png
.. image:: _static/file-layout.png
:alt: File Layout
:align: center
:width: 100%
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
}

# The master toctree document.
master_doc = "implementations/index"
master_doc = "index"

version = "0.9.0"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ understanding of C++ Paimon. These articles will get you set up quickly with C++
Paimon and give you a taste of what the library is capable of.

Start here to gain a basic understanding of Paimon, and move on to the
:doc:`/implementations/user_guide` to explore more specific topics and
underlying concepts, or the :doc:`/implementations/api` to explore Paimon's API.
:doc:`/user_guide` to explore more specific topics and
underlying concepts, or the :doc:`/api` to explore Paimon's API.

.. toctree::

Expand Down
105 changes: 0 additions & 105 deletions docs/source/implementations/index.rst

This file was deleted.

89 changes: 85 additions & 4 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,94 @@
.. See the License for the specific language governing permissions and
.. limitations under the License.

:html_theme.sidebar_secondary.remove:
.. _implementations:

C++ Paimon Documentation
========================

Paimon C++ is a high-performance C++ implementation of Apache Paimon. We aim to
provide a native, high-performance and extensible implementation that allows
native engines to access the Paimon datalake format with maximum efficiency.

.. grid:: 1 2 2 2
:gutter: 4
:padding: 2 2 0 0
:class-container: sd-text-center

.. grid-item-card:: Getting started
:class-card: contrib-card
:shadow: none

Start here to gain a basic understanding of Paimon with
an installation and linking guide, basic concepts etc.

+++

.. button-link:: getting_started.html
:click-parent:
:color: primary
:expand:

To Getting started

.. grid-item-card:: User Guide
:class-card: contrib-card
:shadow: none

Explore more specific topics and underlying concepts
of Paimon C++

+++

.. button-link:: user_guide.html
:click-parent:
:color: primary
:expand:

To the User Guide

.. grid:: 1 2 2 2
:gutter: 4
:padding: 2 2 0 0
:class-container: sd-text-center

.. grid-item-card:: Examples
:class-card: contrib-card
:shadow: none

Find the description and location of the examples
using Paimon C++ library

+++

.. button-link:: examples/index.html
:click-parent:
:color: primary
:expand:

To the Examples

.. grid-item-card:: API Reference
:class-card: contrib-card
:shadow: none

Explore Paimon‘s API reference documentation

+++

.. button-link:: api.html
:click-parent:
:color: primary
:expand:

To the API Reference

C++ Paimon
============

.. toctree::
:maxdepth: 2
:hidden:

implementations/index
getting_started
user_guide
Examples <examples/index>
api
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
Prefetch
========

.. image:: ../../_static/prefetch.svg
.. image:: ../_static/prefetch.svg
:alt: File Layout
:align: center
:width: 100%
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ or multiple data files and each data file belongs to exactly one sorted run.
Records within a data file are sorted by their primary keys. Within a sorted run,
ranges of primary keys of data files never overlap.

.. image:: ../../_static/sorted-runs.png
.. image:: ../_static/sorted-runs.png
:alt: Sorted Runs
:align: center
:width: 100%
Expand Down
Loading