diff --git a/README.md b/README.md index 3a64ee98..1abb89a6 100644 --- a/README.md +++ b/README.md @@ -130,3 +130,8 @@ cargo doc --open ``` You can also view the up-to-date documentation [here](https://maplibre.org/maplibre-rs/docs/api/maplibre/). + +## Acknowledgements + +The renderer of maplibre-rs is heavily based on the renderer of [bevy](https://bevyengine.org/). Bevy's renderer was +forked into this project in order to have a solid and generic base. diff --git a/docs/.gitignore b/docs/.gitignore index 7585238e..712ac012 100644 --- a/docs/.gitignore +++ b/docs/.gitignore @@ -1 +1,2 @@ book +*.bkp \ No newline at end of file diff --git a/docs/src/SUMMARY.md b/docs/src/SUMMARY.md index 4d3be428..cbc6c259 100644 --- a/docs/src/SUMMARY.md +++ b/docs/src/SUMMARY.md @@ -9,7 +9,8 @@ - [Development Guide](./development-guide/index.md) - - [Building](./development-guide/building.md) + - [How to Run Demos](./development-guide/how-to-run.md) + - [Building Libraries](./development-guide/building-libraries.md) - [Debugging](./development-guide/debugging.md) diff --git a/docs/src/development-documents/architecture.md b/docs/src/development-documents/architecture.md index 74749710..8f67e2ff 100644 --- a/docs/src/development-documents/architecture.md +++ b/docs/src/development-documents/architecture.md @@ -8,15 +8,11 @@ The big picture of wgpu is as follows: A simplified version is shown below: - + Notes: * wgpu is able to create an interface through which we can reach any device with a GPU. -## OS Architecture - - - Notes: * The ability to use shared memory or the atomic instruction set of WASM comes by enabling compilation features. * `threads` support here does not introduce threads like we know them from Linux. It introduces diff --git a/docs/src/development-documents/design.md b/docs/src/development-documents/design.md index f0324aaf..ac1cb396 100644 --- a/docs/src/development-documents/design.md +++ b/docs/src/development-documents/design.md @@ -1,16 +1,28 @@ # Design - - +## Domain Model - +
+ +## Data Model + + + +## Crate and Project Structure + + \ No newline at end of file + diff --git a/docs/src/development-documents/figures/crate-and-projects-structure.drawio.svg b/docs/src/development-documents/figures/crate-and-projects-structure.drawio.svg new file mode 100644 index 00000000..b59b3a25 --- /dev/null +++ b/docs/src/development-documents/figures/crate-and-projects-structure.drawio.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/docs/src/development-documents/figures/data-model.drawio.svg b/docs/src/development-documents/figures/data-model.drawio.svg new file mode 100644 index 00000000..30692f7b --- /dev/null +++ b/docs/src/development-documents/figures/data-model.drawio.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/docs/src/development-documents/figures/domain-model.drawio.svg b/docs/src/development-documents/figures/domain-model.drawio.svg index 6d4f4169..b2b516ba 100644 --- a/docs/src/development-documents/figures/domain-model.drawio.svg +++ b/docs/src/development-documents/figures/domain-model.drawio.svg @@ -1,4 +1,4 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/docs/src/development-documents/figures/gpu-stack.drawio.svg b/docs/src/development-documents/figures/gpu-stack.drawio.svg deleted file mode 100644 index 4769a974..00000000 --- a/docs/src/development-documents/figures/gpu-stack.drawio.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/docs/src/development-documents/figures/modules.drawio.svg b/docs/src/development-documents/figures/modules.drawio.svg new file mode 100644 index 00000000..1c4ede77 --- /dev/null +++ b/docs/src/development-documents/figures/modules.drawio.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/docs/src/development-documents/figures/os-stack.drawio.svg b/docs/src/development-documents/figures/os-stack.drawio.svg deleted file mode 100644 index acafd4b9..00000000 --- a/docs/src/development-documents/figures/os-stack.drawio.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/docs/src/development-documents/figures/render-stack.drawio.svg b/docs/src/development-documents/figures/render-stack.drawio.svg new file mode 100644 index 00000000..96446975 --- /dev/null +++ b/docs/src/development-documents/figures/render-stack.drawio.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/docs/src/development-guide/building-libraries.md b/docs/src/development-guide/building-libraries.md new file mode 100644 index 00000000..f9f75266 --- /dev/null +++ b/docs/src/development-guide/building-libraries.md @@ -0,0 +1,3 @@ +# Building Libraries + +TODO diff --git a/docs/src/introduction.md b/docs/src/introduction.md index 090405b9..0ab20c00 100644 --- a/docs/src/introduction.md +++ b/docs/src/introduction.md @@ -2,4 +2,9 @@ # Introduction -maplibre-rs is a portable and performant vector maps renderer. \ No newline at end of file +maplibre-rs is a portable and performant vector maps renderer. + + +## Name + +The name of the library is "maplibre-rs". The camel-case version of it is "MapLibreRs".