Commit Graph

33 Commits

Author SHA1 Message Date
Bob Nystrom
ad05bb2cde fix: apply white-space pre-wrap to pre blocks for Firefox line wrapping
The overflow:auto on pre elements caused horizontal scrollbars in Firefox
when code lines exceeded container width. Adding white-space:pre-wrap
enables natural line wrapping while preserving whitespace formatting,
eliminating the need for horizontal scrolling in narrow viewports.
2016-05-19 16:30:38 +00:00
Bob Nystrom
2bb999127a docs: restructure embedding API docs into multi-page section with slots, lifecycle, and C interop guides 2016-05-16 15:09:14 +00:00
Bob Nystrom
253707db17 docs: expand method scope documentation with this keyword and object scope explanation 2015-11-21 22:00:21 +00:00
Bob Nystrom
fa1c1f5cda docs: document string interpolation syntax and update code examples across docs and site
Add a new "Interpolation" section to the values documentation explaining the `%(expr)` syntax with examples of complex expressions and nested interpolation. Update all code samples in README.md, getting-started.markdown, and index.markdown to use the new interpolation syntax instead of string concatenation. Adjust syntax highlighting in style.scss by adding a new `.si` class for interpolation spans with distinct background color, and tweak existing color values for strings, numbers, and keywords to improve visual distinction. Add the `\%` escape sequence to the list of supported escape characters in values.markdown.
2015-11-21 17:20:50 +00:00
Bob Nystrom
7fd90152ae docs: lowercase module names in sidebar and table, reword built-in module description for clarity 2015-11-09 15:42:48 +00:00
Bob Nystrom
909c242a03 chore: reorganize doc site structure by moving core docs under modules/ and removing category metadata
Restructure the documentation hierarchy to prepare for documenting additional built-in modules. Move all core library documentation from `doc/site/core/` to `doc/site/modules/core/`, rename `modules.markdown` to `modularity.markdown`, remove `^category` metadata lines from all affected pages, update cross-reference links to use relative paths under the new structure, and add a TODO placeholder to the Class class page.
2015-11-08 21:31:22 +00:00
Bob Nystrom
efcc4d07c7 docs: reorganize language guide into linear narrative with renamed sections and navigation links 2015-11-07 19:09:04 +00:00
Bob Nystrom
2f013b3538 style: standardize example output markers across core docs and classes page 2015-10-18 22:56:52 +00:00
Bob Nystrom
5e63e65752 docs: flesh out Range class docs, fix grammar, add smarty plugin, and improve CLI description 2015-09-23 04:19:38 +00:00
Bob Nystrom
6bda720b71 feat: replace all :::dart code fence markers with :::wren in documentation
Add a custom Pygments lexer plug-in for Wren syntax highlighting, update contributing docs with setup instructions for the lexer, and switch every `:::dart` annotation across all doc/site markdown files to `:::wren` so code examples render with the correct language grammar.
2015-09-22 14:59:54 +00:00
Bob Nystrom
e24aba2644 docs: replace placeholder embedding API page with full configuration and hosting guide 2015-08-21 05:02:13 +00:00
Bob Nystrom
b1c9231b5a docs: fix code block language annotations, method formatting, and footer credits in documentation site 2015-07-01 15:11:10 +00:00
Bob Nystrom
b7d0b4b73e fix: add float left to main element to fix unreachable links in IE11 edge mode
The main content area lacked a float property causing links to be unreachable
in Internet Explorer 11 when running in edge mode. Adding float:left restores
proper link clickability for IE11 users.
2015-03-18 14:52:31 +00:00
Bob Nystrom
7bef4e0001 docs: condense operator precedence table by merging rows and abbreviating headers 2015-03-13 14:56:47 +00:00
Bob Nystrom
005a616cd6 style: refactor precedence table styles and add associativity mention in expressions doc 2015-03-13 14:24:45 +00:00
RickGlimmer
49aef414c4 fix: add float left to main element to prevent nav overlap in IE11 edge mode 2015-03-08 15:59:59 +00:00
hachibu
f281c59a59 docs: replace plain-text operator precedence list with styled HTML table in expressions documentation 2015-03-06 15:07:48 +00:00
Bob Nystrom
a74797f333 docs: split monolithic core-library.markdown into per-class docs under doc/site/core/ 2015-01-18 23:36:36 +00:00
Bob Nystrom
151b352bee docs: expand embedding API, functions, lists, maps, and looping documentation with examples and clarifications 2015-01-02 02:48:59 +00:00
Bob Nystrom
0a54f68ad3 docs: add comprehensive error-handling documentation covering syntax and runtime errors with examples 2015-01-02 00:02:02 +00:00
Bob Nystrom
d4a858da43 style: darken site color palette and remove left margin from main paragraphs and pre blocks 2014-10-04 16:57:40 +00:00
Bob Nystrom
c427ca4c10 style: shift all SCSS color variables from 200° to 210° hue and adjust link/string saturation and lightness 2014-09-14 16:39:44 +00:00
Bob Nystrom
ee05fb67b0 feat: replace placeholder core-libraries doc with full core-library reference and refine site design
Replace the empty `core-libraries.markdown` placeholder with a comprehensive `core-library.markdown` documenting Object, Class, Bool, and Fiber classes. Update site template to link to the new page. Tweak SCSS styles: reduce body font to 16px/25px, darken header background with text-shadow, adjust code font size and borders, add left margin to main content paragraphs and pre blocks, and refine link colors. Fix prose in functions.markdown to use "arguments" instead of "parameters" and clarify dynamic dispatch wording.
2014-08-24 16:09:10 +00:00
Bob Nystrom
235518637a style: update site color scheme, typography, and copy across documentation pages 2014-08-19 14:35:20 +00:00
Bob Nystrom
8abbc4197c feat: add MAX_VARIABLE_NAME limit and improve field overflow error message
Add a 64-character maximum identifier length with compile-time error reporting, and enhance the runtime field overflow error to include the class name and remove the TODO comment. Update test expectations for both limit scenarios.
2014-04-22 14:06:26 +00:00
Bob Nystrom
74ca0d8aad style: replace hardcoded column classes with semantic nav-column/main-column and add responsive breakpoints 2014-04-21 04:42:17 +00:00
Bob Nystrom
bbd4cc0f56 feat: add benchmark chart visualization to performance page
Refactor benchmark runner to store results in a nested dict keyed by language name, enabling per-benchmark result aggregation. Add bar chart HTML tables to doc/site/performance.markdown displaying method call, DeltaBlue, and binary trees benchmarks across languages. Include SCSS styles for chart layout, bar coloring, and main content padding.
2014-04-21 04:04:41 +00:00
Bob Nystrom
6ed15da597 feat: add category metadata to doc pages and switch code blocks to dart syntax
Add `^category` front matter to all language, types, and reference doc pages for site navigation restructuring. Replace `:::wren` and `:::java` code block annotations with `:::dart` across multiple files. Create new stub pages for core-libraries, embedding-api, and contributing under the reference category. Remove the old embedding and getting-involved stub pages.
2014-04-15 04:23:46 +00:00
Bob Nystrom
5140d096a1 feat: add responsive layout with viewport meta, media queries, and semantic HTML elements
Replace fixed-width `.page` with `max-width`, add `padding` to body, and introduce two breakpoints (639px and 479px) that adjust nav gutter, header centering, and main margin. Convert `.header`, `.content`, `.nav` divs to `<header>`, `<main>`, `<nav>` tags, add viewport meta tag, and hide GitHub ribbon on small screens.
2014-04-11 17:44:33 +00:00
Bob Nystrom
985b1b9cf7 docs: add block syntax documentation, remove outdated TODOs, and add prefix ~ operator test 2014-04-09 04:18:17 +00:00
Bob Nystrom
25098cd181 style: shift stylesheet color palette from warm orange to cool blue tones 2014-04-08 14:46:47 +00:00
Bob Nystrom
c92a12bf31 docs: recolor doc site with warm earth tones and update prose for clarity 2014-04-08 04:03:16 +00:00
Bob Nystrom
e8d31eddaf feat: replace hand-written CSS with Sass compilation and update site design with new fonts and layout
- Delete doc/site/style.css and add doc/site/style.scss with Sass variables, Dosis header font, box-sizing, absolute header positioning, and link hover effects
- Update template.html to reference Dosis font, lowercase nav headings, and change tagline to "a classy little scripting language"
- Add .sass-cache/ to .gitignore and rename Makefile phony target from docs to builtin
- Modify generate_docs.py to compile style.scss via sass subprocess instead of copying static CSS
- Tweak performance.markdown and qa.markdown for minor wording improvements
2014-04-05 22:39:02 +00:00