[
https://issues.apache.org/jira/browse/PHOENIX-7521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17924586#comment-17924586
]
Dávid Paksy commented on PHOENIX-7521:
--------------------------------------
OK, I was able to configure the Maven skin to use local resources instead of
loading them from CDN.
However I noticed that most probably the HTML pages were not regenerated when
the skin was updated under PHOENIX-7467 and now as I regenerated them, it uses
newer Bootstrap (v2 -> v4) and some pages had invalid Markdown and some things
were not working / looking weird. So I had to make a bunch of changes (starting
with
[https://devacfr.github.io/reflow-maven-skin/doc/reflow-documentation.html#doc-migration)]
to reach the same functional state of the site.
I also had to convert the "Who is using Phoenix?" page from HTML to markdown as
the build was not able to parse it, printed this ERROR on console (and it
created an empty HTML file):
{noformat}
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-site-plugin:3.12.1:site (default-site) on
project phoenix-site: Error parsing
'/home/david/projects/phoenix/site/source/src/site/markdown/who_is_using.md':
line [76] Error parsing the model: end tag name </td> must match start tag name
<p> from line 75 (position: END_TAG seen ...<p>Fulin Sun, Software
Enginneer\n<br/></td>... @76:11) -> [Help 1]{noformat}
Attached a patch file to the Jira ticket. Can you please have a look?
Many thanks in advance,
Dávid
> Phoenix website does not render correctly because of CSP
> --------------------------------------------------------
>
> Key: PHOENIX-7521
> URL: https://issues.apache.org/jira/browse/PHOENIX-7521
> Project: Phoenix
> Issue Type: Bug
> Reporter: Istvan Toth
> Priority: Blocker
> Attachments: PHOENIX-7521.tar.xz
>
>
> This is probably the ASF setting that we were warned about.
> These are the links I see blocked:
> [https://netdna.bootstrapcdn.com/bootswatch/2.3.2/flatly/bootstrap.min.css]
> [https://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-responsive.min.css]
> [https://yandex.st/highlightjs/7.5/styles/default.min.css]
> [https://yandex.st/highlightjs/7.5/highlight.min.js]
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)