summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2020-04-02 16:53:54 +0200
committerLibravatar GitHub <noreply@github.com>2020-04-02 16:53:54 +0200
commit3aafd2c1f7539806449b116fa98d6bf0fff94de8 (patch)
tree727eb202e24d66836065e89c279d400c053563c0 /web
parent2fa6edf7a8b2a6e06b42ff9879fe81cbd1a957c6 (diff)
parent4a498ed0e3d0526ce9f47b7eefa0b2716f9b27a8 (diff)
downloadiced-3aafd2c1f7539806449b116fa98d6bf0fff94de8.tar.gz
iced-3aafd2c1f7539806449b116fa98d6bf0fff94de8.tar.bz2
iced-3aafd2c1f7539806449b116fa98d6bf0fff94de8.zip
Merge pull request #252 from hecrj/improvement/documentation
Update and improve documentation
Diffstat (limited to '')
-rw-r--r--web/CHANGELOG.md19
-rw-r--r--web/README.md1
-rw-r--r--web/src/lib.rs5
3 files changed, 4 insertions, 21 deletions
diff --git a/web/CHANGELOG.md b/web/CHANGELOG.md
deleted file mode 100644
index ed02519a..00000000
--- a/web/CHANGELOG.md
+++ /dev/null
@@ -1,19 +0,0 @@
-# Changelog
-All notable changes to this project will be documented in this file.
-
-The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
-and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
-
-## [Unreleased]
-### Changed
-- `Button::background` takes an `Into<Background>` now instead of a `Background`.
-
-### Fixed
-- Render not being scheduled after `Command` futures finishing.
-
-## [0.1.0] - 2019-11-25
-### Added
-- First release! :tada:
-
-[Unreleased]: https://github.com/hecrj/iced/compare/web-0.1.0...HEAD
-[0.1.0]: https://github.com/hecrj/iced/releases/tag/web-0.1.0
diff --git a/web/README.md b/web/README.md
index 83d1500f..1b818ab6 100644
--- a/web/README.md
+++ b/web/README.md
@@ -50,6 +50,7 @@ Once the example is compiled, we need to create an `.html` file to load our appl
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
+ <meta name="viewport" content="width=device-width, initial-scale=1">
<title>Tour - Iced</title>
</head>
<body>
diff --git a/web/src/lib.rs b/web/src/lib.rs
index a0b39c4a..29120dbf 100644
--- a/web/src/lib.rs
+++ b/web/src/lib.rs
@@ -23,8 +23,8 @@
//!
//! ```bash
//! cd examples
-//! cargo build --example tour --target wasm32-unknown-unknown
-//! wasm-bindgen ../target/wasm32-unknown-unknown/debug/examples/tour.wasm --out-dir tour --web
+//! cargo build --package tour --target wasm32-unknown-unknown
+//! wasm-bindgen ../target/wasm32-unknown-unknown/debug/tour.wasm --out-dir tour --web
//! ```
//!
//! Then, we need to create an `.html` file to load our application:
@@ -34,6 +34,7 @@
//! <html>
//! <head>
//! <meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
+//! <meta name="viewport" content="width=device-width, initial-scale=1">
//! <title>Tour - Iced</title>
//! </head>
//! <body>