Giter Club home page Giter Club logo

Comments (3)

haraldkl avatar haraldkl commented on July 24, 2024

Yes they should. See for example the treelm docu, it has a node pointing to the aotus_module, which is external to that project. load_tem has a link to aot_get_val, which is external to the treelm project.

That documentation was generated with FORD in version 6.1.17.

from ford.

haraldkl avatar haraldkl commented on July 24, 2024
  • 6.1.17 works as intended
  • 6.2.5 yields the broken links for me
  • 6.2.0 results in the following error:
Traceback (most recent call last):
  File "/FORD/6.2.0/usr/local/bin/ford", line 8, in <module>
    sys.exit(run())
  File "/FORD/6.2.0/usr/local/lib/python3.8/dist-packages/ford/__init__.py", line 646, in run
    main(proj_data, proj_docs, md)
  File "/FORD/6.2.0/usr/local/lib/python3.8/dist-packages/ford/__init__.py", line 630, in main
    docs = ford.output.Documentation(proj_data, proj_docs_, project, page_tree)
  File "/FORD/6.2.0/usr/local/lib/python3.8/dist-packages/ford/output.py", line 158, in __init__
    self.graphs.register(item)
  File "/FORD/6.2.0/usr/local/lib/python3.8/dist-packages/ford/graphs.py", line 1255, in register
    self.data.register(obj)
  File "/FORD/6.2.0/usr/local/lib/python3.8/dist-packages/ford/graphs.py", line 194, in register
    collection[obj] = NodeType(obj, self, hist)
  File "/FORD/6.2.0/usr/local/lib/python3.8/dist-packages/ford/graphs.py", line 372, in __init__
    node = gd.get_node(proto, newdict(hist, obj, self))
  File "/FORD/6.2.0/usr/local/lib/python3.8/dist-packages/ford/graphs.py", line 212, in get_node
    collection, _ = self._get_collection_and_node_type(obj)
  File "/FORD/6.2.0/usr/local/lib/python3.8/dist-packages/ford/graphs.py", line 172, in _get_collection_and_node_type
    raise BadType(
ford.graphs.BadType: "Unrecognised object type 'str' when constructing graphs"

I think that error was fixed in #488 + #494, though somehow it replaces the urls now and instead assumes the links to be internal. The treelm project is affected by #501, so FORD 6.2.1-6.2.3 run into the reported KeyError. In version 6.2.4 the URL linking to the external project documentation is gone.

from ford.

ZedThree avatar ZedThree commented on July 24, 2024

Oh yes, this should definitely work! I'm afraid it will be a week or two before I can look at this, but it's on my radar

from ford.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.