Bump @docusaurus/preset-classic from 2.0.0-alpha.72 to 2.0.0-alpha.73 (#890)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Brien <tom@byth.co.uk>
This commit is contained in:
dependabot[bot] 2021-04-19 14:11:28 -07:00 committed by GitHub
parent 1b12130f46
commit 1360fbb80f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 147 additions and 656 deletions

View File

@ -1,7 +0,0 @@
---
title: ""
---
[This page has moved.](creating_integration_manifest.md)
<script>document.location = 'creating_integration_manifest.html';</script>

View File

@ -1,7 +0,0 @@
---
title: ""
---
[This page has moved.](https://github.com/home-assistant/example-custom-config/tree/master/custom_components/example_light)
<script>document.location = 'https://github.com/home-assistant/example-custom-config/tree/master/custom_components/example_light';</script>

View File

@ -1,7 +0,0 @@
---
title: ""
---
[This page has moved.](https://github.com/home-assistant/example-custom-config/tree/master/custom_components/example_sensor)
<script>document.location = 'https://github.com/home-assistant/example-custom-config/tree/master/custom_components/example_sensor';</script>

View File

@ -12,7 +12,7 @@
}, },
"dependencies": { "dependencies": {
"by-node-env": "^2.0.1", "by-node-env": "^2.0.1",
"@docusaurus/preset-classic": "^2.0.0-alpha.72", "@docusaurus/preset-classic": "^2.0.0-alpha.73",
"@docusaurus/core": "^2.0.0-alpha.73", "@docusaurus/core": "^2.0.0-alpha.73",
"@mdx-js/react": "^1.6.21", "@mdx-js/react": "^1.6.21",
"clsx": "^1.1.1", "clsx": "^1.1.1",

View File

@ -1,5 +1,5 @@
import React from "react"; import React from "react";
import classnames from "classnames"; import clsx from 'clsx';
import Layout from "@theme/Layout"; import Layout from "@theme/Layout";
import Link from "@docusaurus/Link"; import Link from "@docusaurus/Link";
import useDocusaurusContext from "@docusaurus/useDocusaurusContext"; import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
@ -97,7 +97,7 @@ const features = [
function Feature({ imageUrl, title, description }) { function Feature({ imageUrl, title, description }) {
const imgUrl = useBaseUrl(imageUrl); const imgUrl = useBaseUrl(imageUrl);
return ( return (
<div className={classnames("col col--4", styles.feature)}> <div className={clsx("col col--4", styles.feature)}>
{imgUrl && ( {imgUrl && (
<div className="text--center"> <div className="text--center">
<img className={styles.featureImage} src={imgUrl} alt={title} /> <img className={styles.featureImage} src={imgUrl} alt={title} />
@ -118,13 +118,13 @@ function Home() {
title={`Home Assistant Developer Docs`} title={`Home Assistant Developer Docs`}
description="Get started developing for Home Assistant" description="Get started developing for Home Assistant"
> >
<header className={classnames("hero hero--primary", styles.heroBanner)}> <header className={clsx("hero hero--primary", styles.heroBanner)}>
<div className="container"> <div className="container">
<div className="row"> <div className="row">
<div className={classnames('col col--5')}> <div className={clsx('col col--5')}>
<img className={styles.heroLogo} alt="Home Assistant Logo" src="/img/logo-white.svg" /> <img className={styles.heroLogo} alt="Home Assistant Logo" src="/img/logo-white.svg" />
</div> </div>
<div className={classnames('col col--5')}> <div className={clsx('col col--5')}>
<h1 className={styles.heroTitle}>{siteConfig.title}</h1> <h1 className={styles.heroTitle}>{siteConfig.title}</h1>
<p className={styles.heroTagline}>{siteConfig.tagline}</p> <p className={styles.heroTagline}>{siteConfig.tagline}</p>
<p> <p>

View File

@ -62,3 +62,8 @@
/docs/lovelace_custom_card /docs/frontend/custom-ui/lovelace-custom-card /docs/lovelace_custom_card /docs/frontend/custom-ui/lovelace-custom-card
/docs/supervisor/developing /docs/supervisor/development /docs/supervisor/developing /docs/supervisor/development
/docs/dev_101_index /docs/dev_101_hass /docs/dev_101_index /docs/dev_101_hass
# Tidying moved pages
/docs/creating_platform_example_sensor https://github.com/home-assistant/example-custom-config/tree/master/custom_components/example_sensor
/docs/creating_platform_example_light https://github.com/home-assistant/example-custom-config/tree/master/custom_components/example_light
/docs/creating_component_deps_and_reqs /docs/creating_integration_manifest

765
yarn.lock

File diff suppressed because it is too large Load Diff