Commit Graph

42 Commits

Author SHA1 Message Date
Rick van Voorden
f8ae46b3f3 [inclusive-language] changed sanity to soundness 2024-01-25 18:18:02 -08:00
Gwynne Raskind
687585eafa Docs: Remove all references to long-unused LitRe tool. Also incidentally removes redundant/duplicate check for sphinx-build binary. 2019-01-13 21:15:56 -06:00
practicalswift
3918d9d251 [gardening] Replace likely word processor artefacts with ASCII equivalents (— → --, … → ...) 2017-01-08 15:23:06 +01:00
practicalswift
cc852042c9 [gardening] Fix accidental trailing whitespace. 2016-10-29 10:22:58 +02:00
Jordan Rose
ca14c36936 [docs] Fix syntax highlighting issues to support newer Sphinxes. (#4283)
- Update the Pygments lexer we use for parsing Swift-like code.
- State more explicitly which highlighting should be used in which
  code blocks.
- Disable highlighting altogether in certain cases (such as SIL.rst,
  which has equal amounts grammar and SIL excerpts).

This should fix the warnings-as-error issues coming from Sphinx > 1.3.4.

Based on a patch by Jeremy Fergason!

https://bugs.swift.org/browse/SR-620
2016-08-12 22:59:11 -07:00
Tony Parker
2a4e916296 Rename OutputStream to TextOutputStream [SE-0086] 2016-07-18 16:47:23 -07:00
mrmrs
13a65a5882 Add consistent formatting in swift.css
This changes all classes to be formatted in the same way.
* Each property is on it's own line
* Each declaration is on it's own line
* Single linebreak in between rulesets
2016-07-06 16:25:18 -07:00
hitstergtd
1ccca9d0f0 [gardening] Properly capitalise 'swift' to 'Swift' 2016-04-17 20:53:48 +01:00
Hitster GTD
d95921e5a8 [doc] Fix broken links, permanent redirects and Rust-related inconsistencies (#2220)
* Fix almost every broken link and perm redirect

- Fix Xref from OptimizationTips.rst to Specialization section in Generics.rst
to use Sphinx syntax instead of a direct link to GitHub
- Fix over 12 broken links and permanent redirects

* Fix Rust related inconsistencies and broken links

- Update to reflect Rust does not have three types of pointers anymore
- Replace broken links to deprecated Rust documentation with alternatives,
comparable references in new Rust documentation
2016-04-17 20:52:29 +02:00
practicalswift
050023060a [gardening] Fix inconsistent spacing. 2016-04-15 21:05:52 +02:00
practicalswift
c760f6dfbf [gardening] Add whitespace: "foo,bar" → "foo, bar" 2016-04-12 22:31:46 +02:00
Manav Gabhawala
7928140f79 [SE-0046] Implements consistent function parameter labels by discarding extraneous parameter names and adding _ where necessary 2016-04-06 20:21:58 -04:00
practicalswift
abfecfde17 [gardening] if ([space]…[space]) → if (…), for(…) → for (…), while(…) → while (…), [[space]x, y[space]] → [x, y] 2016-04-04 16:22:11 +02:00
Tomohiro Kumagai
473b15648a [docs] Replace old-style array type annotations. 2016-01-13 04:09:39 +09:00
practicalswift
6c8c9bfbc9 Consistently use normal quotes ("…") instead of curly quotes (“…”). 2016-01-06 21:38:32 +01:00
ken0nek
50c88b9d15 Add spaces before and after closure arrow in docs 2015-12-23 05:04:58 +09:00
Ted Kremenek
dc632ed3cf Merge pull request #69 from jandrewstre/patch-1
Fix typo in docs/StringDesign.rst
2015-12-03 10:50:10 -08:00
John Andrews
8fc20645a4 Fix typo in docs/StringDesign.rst 2015-12-03 13:41:43 -05:00
codester
15dc3cb1b4 Fix typo acheived to achieved
Fixed Typo
2015-12-04 00:01:27 +05:30
Jordan Rose
d5c6d0d6cf [docs] Mark a bunch of older docs as out of date and not plan-of-record.
More doc changes to come.
2015-11-02 17:49:02 -08:00
Dmitri Hrybenko
f46f16ae82 stdlib: implement new print() API
rdar://20775683

Swift SVN r28309
2015-05-08 01:37:59 +00:00
Dmitri Hrybenko
69a0e18f08 Revert "docs/StringDesign: remove a paragraph about a deviation from Unicode in"
This reverts r19396.

Swift SVN r19400
2014-07-01 15:21:44 +00:00
Dmitri Hrybenko
3248c3bbe2 docs/StringDesign: remove a paragraph about a deviation from Unicode in
regional indicator handling.  There is no contradiction here: regional
indicators are allowed in groups of two, should not be split by grapheme
cluster segmentation algorithm, and the producer of the text is
responsible for not putting more than two regional indicators
consecutively.

Swift SVN r19396
2014-07-01 13:18:22 +00:00
Dave Abrahams
a387a5b059 [stdlib] Rename "Indexable" => "Container"
Another step in the implementation of new Sequence protocols

Swift SVN r11958
2014-01-06 22:27:11 +00:00
Dave Abrahams
b1ac7ba7a4 [docs] Fix all ReST/Sphinx warnings, turn sphinx warnings into errors
Also revert r10607, which this change obsoletes

Swift SVN r10611
2013-11-20 23:27:13 +00:00
Dmitri Hrybenko
81dc5deee8 Change 'def' keyword back to 'func'
Swift SVN r10522
2013-11-17 07:45:28 +00:00
Dmitri Hrybenko
91ce21666d Change 'func' keyword to 'def'
I tried hard find all references to 'func' in documentation, comments and
diagnostics, but I am sure that I missed a few.  If you find something, please
let me know.

rdar://15346654


Swift SVN r9886
2013-11-02 01:00:42 +00:00
Dave Abrahams
55b215b021 [stdlib] StringDesign.rst: incremental progress
Swift SVN r8916
2013-10-04 16:47:33 +00:00
Joe Groff
3d4c1251f1 Rename 'byref' attribute to 'inout'.
Swift SVN r8661
2013-09-25 20:56:52 +00:00
Dave Abrahams
36db63b0d8 [stdlib] StringDesign.rst: remove "Extended with Restraint" section per Chris Kane's advice
Swift SVN r8449
2013-09-19 17:15:45 +00:00
Dave Abrahams
15673a1601 [stdlib] StringDesign.rst: add "Goals" and "Non-Goals" to introduction
Swift SVN r8429
2013-09-18 23:46:39 +00:00
Dave Abrahams
e1a48abb0e [stdlib] StringDesign.rst: finalize first installment
Swift SVN r8365
2013-09-17 23:29:36 +00:00
Dave Abrahams
642ef3682b [stdlib] StringDesign.rst: Finalize the Overview section
Swift SVN r8087
2013-09-10 23:57:39 +00:00
Dave Abrahams
cea6cb0828 [stdlib] StringDesign.rst: Remove needless level of document structure, simplify the description of indexing
Swift SVN r8078
2013-09-10 20:01:14 +00:00
Dave Abrahams
b400879485 [stdlib] StringDesign.rst WIP
Swift SVN r8069
2013-09-10 17:03:49 +00:00
Dave Abrahams
d718c8a7f9 [stdlib] StringDesign.rst: WIP with a new "introduction by example" approach
Swift SVN r8027
2013-09-07 02:57:07 +00:00
Dave Abrahams
8da6fdfba8 [stdlib] StringDesign.rst: note that we have to cover YAGNI
Swift SVN r8025
2013-09-07 02:57:02 +00:00
Dave Abrahams
3d62ae4acf [stdlib] StringDesign.rst: More Work In Progress (WIP)
Beginning to move all ObjC/Cocoa references out of the first part of
the document, so the high-level string design stands on its own.  It's
becoming clear that rationales need to be moved out of the sidebar and
back into the main body of the text, so checkpointing before
restructuring.

Swift SVN r7899
2013-09-04 16:19:03 +00:00
Dave Abrahams
9dd70537f8 [stdlib] StringDesign.rst: Work In Progress (WIP)
Swift SVN r7862
2013-09-03 21:00:21 +00:00
Dave Abrahams
8c84806f5b [stdlib] StringDesign.rst: this => self
Swift SVN r7798
2013-08-30 20:39:28 +00:00
Dave Abrahams
2cae5e127c [stdlib] StringDesign.rst: add DaveZ's organizational notes
Swift SVN r7768
2013-08-29 23:59:10 +00:00
Dave Abrahams
a6176da34b [stdlib] Check in WIP on Strings State of the Union
Swift SVN r7767
2013-08-29 23:56:04 +00:00