Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ body:
required: true
- type: textarea
attributes:
label: "RNRH Version"
label: "native-html Version"
placeholder: "Type which version of @native-html/render you are using."
validations:
required: true
Expand Down
2 changes: 1 addition & 1 deletion DEVELOPING.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ifdef::env-github[]
endif::[]
:toc:

= Participating in RNRH development
= Participating in native-html development

== Initializing the project

Expand Down
2 changes: 1 addition & 1 deletion apps/discovery/app.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
expo: {
name: 'RNRH Discovery',
name: 'native-html Discovery',
slug: '@native-html/render-discovery',
description:
'An App to discover Native HTML features and API!',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function Header() {
padding={1}>
<Logo height={LOGO_SIZE} width={LOGO_SIZE} />
<TextRoleNucleon style={{ marginLeft: useSpacing(2) }} role="bodyBold">
Discover RNRH
Discover native-html
</TextRoleNucleon>
</BoxNucleon>
);
Expand Down
2 changes: 1 addition & 1 deletion apps/website/blog/2021-06-07-foundry-announcement.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ experience. Now, let's get to the heart of it!
## The Discovery App

Along with the release comes this new website and the **Discovery App** which
features all the docs of the website with embedded RNRH-rendered snippets. For
features all the docs of the website with embedded native-html-rendered snippets. For
this very reason, the Discovery App is recommended for newcomers, or for those
who want **a "live" feeling of the new engine capabilities**. The website is
more suited during development when searching for specific information.
Expand Down
52 changes: 41 additions & 11 deletions apps/website/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,6 @@ const plugins: any[] = [
};
}
}),
[
'doc-docusaurus-rfg-plugin',
{
icon: '../../assets/favicon.svg',
apiKey: '5cfedd426015fefc5fb4a1612a13ebdb930aaf46',
name: 'Discover RNRH',
themeColor: '#8181ff',
backgroundColor: '#000040'
}
],
// Only include this plugin when the apisidebar file has been generated.
...(hasAPIsidebar
? [
Expand Down Expand Up @@ -71,6 +61,45 @@ const plugins: any[] = [
: [])
];

// Favicons are committed in static/favicons (generated once from
// assets/favicon.svg with https://realfavicongenerator.net).
const faviconsBase = `${WEBSITE_BASE}favicons/`;
const faviconHeadTags: Config['headTags'] = [
{
tagName: 'link',
attributes: {
rel: 'icon',
type: 'image/png',
sizes: '96x96',
href: `${faviconsBase}favicon-96x96.png`
}
},
{
tagName: 'link',
attributes: {
rel: 'icon',
type: 'image/svg+xml',
href: `${faviconsBase}favicon.svg`
}
},
{
tagName: 'link',
attributes: { rel: 'shortcut icon', href: `${faviconsBase}favicon.ico` }
},
{
tagName: 'link',
attributes: {
rel: 'apple-touch-icon',
sizes: '180x180',
href: `${faviconsBase}apple-touch-icon.png`
}
},
{
tagName: 'link',
attributes: { rel: 'manifest', href: `${faviconsBase}site.webmanifest` }
}
];

const config: Config = {
title: 'Native HTML',
tagline:
Expand All @@ -87,6 +116,7 @@ const config: Config = {
// https://github.com/facebook/docusaurus/issues/4923
// Also remove the swizzled LayoutHead
favicon: 'favicons/favicon-32x32.png',
headTags: faviconHeadTags,
organizationName: 'meliorence',
projectName: '@native-html/render',
plugins: plugins,
Expand All @@ -110,7 +140,7 @@ const config: Config = {
navbar: {
hideOnScroll: true,
logo: {
alt: 'RNRH',
alt: 'native-html',
src: 'img/logo.svg'
},
items: [
Expand Down
3 changes: 1 addition & 2 deletions apps/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"scripts": {
"docusaurus": "docusaurus",
"start": "docusaurus api:gen && DOCUSAURUS_NO_DUPLICATE_TITLE_WARNING=false docusaurus start --no-open",
"build": "yarn workspace @doc/mdx-gen-cli build && yarn workspace doc-docusaurus-rfg-plugin build && docusaurus api:gen && DOCUSAURUS_NO_DUPLICATE_TITLE_WARNING=false docusaurus build",
"build": "yarn workspace @doc/mdx-gen-cli build && docusaurus api:gen && DOCUSAURUS_NO_DUPLICATE_TITLE_WARNING=false docusaurus build",
"build-docs": "doc-mdx-gen-cli docs",
"swizzle": "docusaurus swizzle",
"deploy": "docusaurus api:gen && docusaurus deploy",
Expand Down Expand Up @@ -44,7 +44,6 @@
"@types/react-helmet": "^6.1.11",
"@types/react-modal": "^3.16.3",
"@types/react-router-dom": "^5.3.3",
"doc-docusaurus-rfg-plugin": "workspace:*",
"doc-docusaurus-typedoc-plugin": "workspace:*",
"docusaurus-node-polyfills": "^1.0.0",
"sass": "^1.93.2",
Expand Down
14 changes: 7 additions & 7 deletions apps/website/static/favicons/site.webmanifest
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{
"name": "",
"short_name": "",
"name": "Discover native-html",
"short_name": "Discover native-html",
"icons": [
{
"src": "/faviconsweb-app-manifest-192x192.png",
"src": "web-app-manifest-192x192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "/faviconsweb-app-manifest-512x512.png",
"src": "web-app-manifest-512x512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"theme_color": "#8181ff",
"background_color": "#000040",
"display": "standalone"
}
}
19 changes: 0 additions & 19 deletions doc-tools/doc-docsusaurus-rfg-plugin/package.json

This file was deleted.

205 changes: 0 additions & 205 deletions doc-tools/doc-docsusaurus-rfg-plugin/src/index.ts

This file was deleted.

Loading
Loading