Compare commits

...

1 Commits

Author SHA1 Message Date
konnorrogers
6998d1edd2 add pro setup 2025-07-18 13:28:05 -04:00
2 changed files with 14 additions and 0 deletions

View File

@@ -46,6 +46,18 @@ Font Awesome users can set their kit code to unlock Font Awesome Pro icons. You
---
{# This looks weird, but without it, markdownItAttrs flags the raw calls incorrectly. #}
<div>
{%- raw -%}
{% if currentUser.hasPro %}
<div>
{% include "server/pro-setup.njk" ignore missing %}
</div>
{% endif %}
{% endraw %}
</div>
## Advanced Setup
The autoloader is the easiest way to use Web Awesome, but different projects (or your own preferences!) may require different installation methods.

View File

@@ -147,6 +147,8 @@ export async function generateDocs(options = {}) {
} catch (error) {
console.warn = originalWarn;
console.error('\n\n' + chalk.red(error) + '\n');
if (spinner) {
spinner.fail(chalk.red(`Error while writing the docs.`));
} else {