Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

warnings should probably be errors for non-existing parents in xdoc topics #873

Open
MattKaufmann opened this issue Sep 12, 2018 · 0 comments

Comments

@MattKaufmann
Copy link
Contributor

Consider changing warnings "found topics with non-existent parents"
into errors, just as we already treat broken links as errors. A
simple fix might be to replace the following code in the definition of
function save-json-files, in file books/xdoc/save-fancy.lisp.

    (or (not orphans)
        (cw "~|~%WARNING: found topics with non-existent parents:~%~x0~%These ~
             topics may only show up in the index pages.~%~%" orphans))

The new code would presumably be like that code that is near calls of
note-xdoc-error in that same file. This might be trivial, but I'll
leave it till later, and probably to someone else to take on; perhaps
there is some issue I haven't considered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant