Skip to content

Commit b4eefba

Browse files
committed
POSIX compliant utility argument
1 parent 51dd415 commit b4eefba

File tree

5 files changed

+16
-37
lines changed

5 files changed

+16
-37
lines changed

tastydoc/TODO.md

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,6 @@
33
* util.traversing
44
* ImplicitlyAddedFrom
55
* Fix linking for inherited method
6-
* Comment
7-
* Span + error printing
8-
* Figure out ShortHtml
9-
* CommentParser
10-
* Span + error printing
11-
* WikiParser (just error reporting (span))
12-
* Span + error printing
136

147
# Other
158
* Check remaining TODOs/TOASKs/TOFIX
@@ -22,24 +15,10 @@
2215
# Output
2316
* Output inner class/object if not inherited
2417

25-
# Features for beyond the project
26-
* TypeLambdas
27-
* Inherited declaration
28-
* handle things such as $genericCanBuildFromInfo
29-
* Type like Graph.Node
30-
* default value in def
31-
* Case classes are linked
32-
* Error printing in parsing
33-
34-
# Report
35-
* Be consistent in methods/function and parameters/arguments
36-
3718
# To Ask
3819
* Error in calling owner
3920
* Order in type matching symbol counts...
4021
* Remove artifacts in packages
4122
* No way to get doc for packages?
4223
* Abstract flag not working
43-
* filter(!_.symbol.flags.is(Flags.StableRealizable)) good idea or not?
44-
45-
* Not consistant reference (f.ex object in parents)
24+
* filter(!_.symbol.flags.is(Flags.StableRealizable)) good idea or not?

tastydoc/readme.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ This tool produces Markdown documentation files for Scala projects using TASTy f
44

55
## How to run
66
Call main with the following arguments to produce Markdown documentation files: (Omitting { and })
7-
* **--syntax** {*wiki or markdown*} Syntax for parsing user documentation
8-
* **--packagestolink** {*regex1 regex2 ...*} Regexes of packages or entities (example: `scala.collection.*`). Only the types with a path matching these regexes will produce links in the documentation files
9-
* **--classpath** {*URI*} Extra classpath for input files
10-
* **-i** {*file1 file2 ...*} TASTy files
11-
* **-d** {*dir1 dir2 ...*} Directories to recursively find TASTy files
7+
* **[--syntax SYNTAX]** Syntax for parsing user documentation (either *wiki or markdown*)
8+
* **[--packagestolink REGEXES...]** Regexes of packages or entities (example: `scala.collection.*`). Only the types with a path matching these regexes will produce links in the documentation files
9+
* **[--classpath URI]** Extra classpath for input files
10+
* **[-i FILES...]** TASTy files
11+
* **[-d DIRECTORIES...]** Directories to recursively find TASTy files

tastydoc/report/report.pdf

-2.17 KB
Binary file not shown.

tastydoc/report/report.tex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -208,11 +208,11 @@ \subsection{Main}
208208

209209
Command line parameters are:
210210
\begin{itemize}
211-
\item \textbf{--syntax} \{\textit{wiki} or \textit{markdown}\} Syntax to use for user documentation parsing
212-
\item \textbf{--packagestolink} \{\textit{regex1 regex2 ...}\} Regexes of packages or entities (example: \texttt{scala.collection.*}). Only the types with a path matching these regexes will produce links in the documentation files
213-
\item \textbf{--classpath} \{\textit{URI}\} Extra classpath for input files
214-
\item \textbf{-i} \{\textit{file1 file2 ...}\} TASTy files
215-
\item \textbf{-d} \{\textit{dir1 dir2 ...}\} Directories to recursively find TASTy files
211+
\item \textbf{\texttt{[--syntax SYNTAX]}} Syntax to use for user documentation parsing (either \textit{wiki} or \textit{markdown})
212+
\item \textbf{\texttt{[--packagestolink REGEXES...]}} Regexes of packages or entities (example: \texttt{scala.collection.*}). Only the types with a path matching these regexes will produce links in the documentation files
213+
\item \textbf{\texttt{[--classpath URI]}} Extra classpath for input files
214+
\item \textbf{\texttt{[-i FILES...]}} TASTy files
215+
\item \textbf{\texttt{[-d DIRECTORIES...]}} Directories to recursively find TASTy files
216216
\end{itemize}
217217

218218
\subsection{User documentation parsing}

tastydoc/src/dotty/tastydoc/Main.scala

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ import java.io._
1010
object Main {
1111

1212
/** Call main with the following arguments to produce Markdown documentation files: (Omitting { and })
13-
* * **--syntax** {*wiki or markdown*} Syntax for parsing user documentation
14-
* * **--packagestolink** {*regex1 regex2 ...*} Regexes of packages or entities (example: `scala.collection.*`). Only the types with a path matching these regexes will produce links in the documentation files
15-
* * **--classpath** {*URI*} Extra classpath for input files
16-
* * **-i** {*file1 file2 ...*} TASTy files
17-
* * **-d** {*dir1 dir2 ...*} Directories to recursively find TASTy files
13+
* * **[--syntax SYNTAX]** Syntax for parsing user documentation (either *wiki or markdown*)
14+
* * **[--packagestolink REGEXES...]** Regexes of packages or entities (example: `scala.collection.*`). Only the types with a path matching these regexes will produce links in the documentation files
15+
* * **[--classpath URI]** Extra classpath for input files
16+
* * **[-i FILES...]** TASTy files
17+
* * **[-d DIRECTORIES...]** Directories to recursively find TASTy files
1818
*/
1919
def main(args: Array[String]): Unit = {
2020
val userDocSyntax = {

0 commit comments

Comments
 (0)