Comments (4)
As stated here, when I try to build the valadoc I get gxml-0.10.vapi:17.76-17.129: error: too many type arguments
. You said to rebuild gxml but when I run jhbuild build gxml
I get build errors.
from valadoc-org.
Thanks for pointing out the issue raised on the other GitHub repo. Although you seem to think I'm the same person. I assumed that the docs were built straight from the vala-girs repo. Looking through the build errors like:
/gxml/gxml/GXmlNode.vala:58.64-58.101: error: Return: Cannot convert from GXml.GHashMapAttr' to
Gee.Map<string,GXml.Node>'
public virtual Gee.Map<string,GXml.Node> attrs { owned get { return new GHashMapAttr (_doc, _node); } }
It suggests that Vala's improved generic type checking is picking up some things that need changing in the GXml source. So is it a question of waiting for those to be fixed or is it better to use the VAPI from vala-girs instead for now?
from valadoc-org.
Those errors have to be fixed because the vapi from vala-girs doesn't work with valadoc.
Edit: the gxml code looks correct, I'm not sure why valac is giving me errors
Why are we on 0.10 anyways? 0.12 is the latest
from valadoc-org.
This seems to be a bit of a sticky one.
GXml 0.10
The VAPI from vala-girs mostly works. Doing:
curl https://raw.githubusercontent.com/nemequ/vala-girs/master/vala/vapi/gxml-0.10.vapi --silent --output gxml-0.10.vapi
valadoc --directory gxml --pkg gee-0.8 --pkg gio-2.0 --pkg libxml-2.0 gxml-0.10.vapi
The documentation builds, but there are some missing symbols:
gxml-0.10.vapi: GXml.xElement: @link: warning: `GXml.xDocument.create_element' does not exist
gxml-0.10.vapi: GXml.Serializable.list_serializable_properties: @link: warning: `GXml.Serialization' does not exist
gxml-0.10.vapi: GXml.Serializable.list_serializable_properties: @link: warning: `GXml.Serialization' does not exist
gxml-0.10.vapi: GXml.Serializable.find_property_spec: @link: warning: `GXml.Serialization' does not exist
gxml-0.10.vapi: GXml.Serializable.find_property_spec: @link: warning: `GXml.Serialization' does not exist
gxml-0.10.vapi: GXml.Serializable.deserialize_property: @link: warning: `GXml.Serialization' does not exist
gxml-0.10.vapi: GXml.Serializable.serialize_use_xml_node_value: @link: warning: `ignored_serializable_properties' does not exist
gxml-0.10.vapi: GXml.warning: @param: warning: Unknown parameter `exception'
gxml-0.10.vapi: GXml.ElementList: @link: warning: `Gee.ListArray' does not exist
gxml-0.10.vapi: GXml.exception: @param: warning: Unknown parameter `exception'
gxml-0.10.vapi: GXml.NodeList: @link: warning: `Gee.ListArray' does not exist
gxml-0.10.vapi: GXml.xComment: @link: warning: `GXml.xDocument.create_comment' does not exist
gxml-0.10.vapi: GXml.SerializableCollection.deserialize_children: @link: warning: `GXml.SerializableCollection.is_prepared' does not exist
gxml-0.10.vapi: GXml.SerializableCollection.deserialize_node: @link: warning: `GXml.SerializableCollection.is_prepared' does not exist
Having most of the documentation is better than what we have at the moment.
GXml 0.12
GXml is a GNOME project: https://git.gnome.org/browse/gxml/
So it would be nice to treat GXml the same as other GNOME projects for documentation. I'm not sure how valadoc.org does this. Does valadoc.org always build GNOME projects from source? It looks like the latest release of GXml is 0.13.1, so if valadoc.org has a mechanism for tracking the latest release then this is probably the best option. Although it is unclear how much the API is changing with each release. It may be time for the main authors of the project to separate version numbers of the API from version numbers of the release.
from valadoc-org.
Related Issues (20)
- Mark final (non-derivable / non-subclassable) classes
- libportal docs missing
- Update librest docs to v0.9
- Pop-up hint fetches wrong result in case-sensitive cases
- 502 on website (4th March 2022) HOT 1
- Description text in the GTK4 and libadwaita pages are not parsed correctly HOT 1
- [Feature Request] Search by C name
- Add link to new vala.dev website
- Add make option HOT 1
- Add make rule for quickly building a version of the site without skipping existing doc pages
- Rename `master` branch to `main`
- Is valadoc.org down? HOT 4
- sha256sum for devhelp tarballs, please?
- Formatting bugs on gtk4 DrawingArea page HOT 1
- Tables aren't formatted correctly when viewing the website's dark theme HOT 1
- Make docker image unpriviliged
- Broken link on Gtk.TextView
- Remove "Stays crunchy, even in milk"
- Provide a client-based search
- Add "/" keyboard shortcut to focus on search bar HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from valadoc-org.