Skip to content

Commit

Permalink
Add reference to sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
odersky authored and felixmulder committed May 26, 2017
1 parent 76bc34b commit c6b458b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/reference/enums.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Enums
# Enumerations

The most basic use of enums is as enumerations of simple values:
An enumeration is used to define a type consisting of a set of named values.

```scala
enum Color {
Expand Down
12 changes: 12 additions & 0 deletions docs/sidebar.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
sidebar:
- title: Blog
url: blog/index.html
- title: Reference
subsection:
- title: Trait Parameters
url: docs/reference/trait-parameters.html
- title: Enumerations
url: docs/reference/enums.html
- title: Algebraic Data Types
url: docs/reference/adts.html
- title: Enum Translation
url: docs/reference/desugarEnums.html
- title: By-Name Implicits
url: docs/reference/implicit-by-name-parameters.html
- title: Usage
subsection:
- title: cbt-projects
Expand Down

0 comments on commit c6b458b

Please sign in to comment.