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

Broken documentation #24

Closed
moosebuild opened this issue Dec 14, 2021 · 2 comments
Closed

Broken documentation #24

moosebuild opened this issue Dec 14, 2021 · 2 comments
Assignees

Comments

@moosebuild
Copy link

In GitLab by @cticenhour on Dec 14, 2021, 16:08

This issue is a reproduction of the archived freya#28 for SQA purposes. Please refer to that issue for any extended discussion that may exist beyond this description.

Bug Description

Freya docs are broken due to a duplicate image conflict resulting from the development of the electromagnetics module:

RENDER ERROR: Multiple pages with a name that ends with 'two_block.png' were found:
  media/two_block.png
  large_media/electromagnetics/two_block.png
/opt/civet/build_1/freya/doc/content/verification/thermal_contact_verification.md:339
   ┌───────────────────────────────────────────────────────────────────────────────────────────────┐
339│                                                                                               │
340│                                                                                               │
   └───────────────────────────────────────────────────────────────────────────────────────────────┘
Traceback (most recent call last):
  File "/opt/civet/build_1/freya/moose/python/MooseDocs/base/renderers.py", line 77, in render
    el = func(parent, token, page) if func else parent
  File "/opt/civet/build_1/freya/moose/python/MooseDocs/extensions/media.py", line 151, in createMaterialize
    tag = self.createHTML(parent, token, page)
  File "/opt/civet/build_1/freya/moose/python/MooseDocs/extensions/media.py", line 141, in createHTML
    node = self.translator.findPage(src)
  File "/opt/civet/build_1/freya/moose/python/MooseDocs/base/Translator.py", line 223, in findPage
    raise exceptions.MooseDocsException(msg)
MooseDocs.common.exceptions.MooseDocsException: Multiple pages with a name that ends with 'two_block.png' were found:
  media/two_block.png
  large_media/electromagnetics/two_block.png

Steps to Reproduce

Try to build Freya docs with current MOOSE submodule.

Impact

Docs will not build correctly until fixed.

@moosebuild
Copy link
Author

In GitLab by @cticenhour on Jul 14, 2022, 16:13

mentioned in commit 0144301

@moosebuild
Copy link
Author

In GitLab by @sapitts on Jul 14, 2022, 16:13

mentioned in commit 2908ec2

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

2 participants