From 02b98a5d98f6f3d19d3edca8634ef87b21a8a256 Mon Sep 17 00:00:00 2001 From: TheoryOfNekomata Date: Mon, 6 Mar 2023 05:39:53 +0000 Subject: [PATCH] Update 'README.md' --- README.md | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index b255bd2..81b1032 100644 --- a/README.md +++ b/README.md @@ -15,16 +15,13 @@ Downloads All releases are based on master, so the preferred way of using xml.c is adding the repository as [git submodule](http://git-scm.com/book/en/Git-Tools-Submodules). -If you prefer formal releases, check out the [release tags](https://github.com/ooxi/xml.c/tags). - - Building xml.c -------------- Since xml.c uses [CMake](http://www.cmake.org/), building the library is fairly easy - $ git clone https://github.com/ooxi/xml.c.git xml.c + $ git clone https://code.modal.sh/TheoryOfNekomata/xml-c.git xml.c $ mkdir xml.c/build; cd xml.c/build $ cmake -DCMAKE_BUILD_TYPE=Release .. $ make && make test @@ -35,7 +32,7 @@ If you need a debug build, specify `CMAKE_BUILD_TYPE` as `Debug` and rebuild. Usage ----- -This example is also [included in the repository](https://github.com/ooxi/xml.c/blob/master/test/example.c) +This example is also [included in the repository](https://code.modal.sh/TheoryOfNekomata/xml-c/blob/master/test/example.c) and will be build by default. Most of the code is C boilerplate, the important functions are `xml_parse_document`, `xml_document_root`, `xml_node_name`, `xml_node_content` and `xml_node_child` / `xml_node_children`. @@ -116,11 +113,11 @@ int main(int argc, char** argv) { } ``` -Another usage example can be found in the [unit case](https://github.com/ooxi/xml.c/blob/master/test/test-xml.c). +Another usage example can be found in the [unit case](https://code.modal.sh/TheoryOfNekomata/xml-c/blob/master/test/test-xml.c). License ------- -[libpng/zlib](https://github.com/ooxi/xml.c/blob/master/LICENSE) (BSD) +[libpng/zlib](https://code.modal.sh/TheoryOfNekomata/xml-c/blob/master/LICENSE) (BSD)