Migration from 0.1#
Version 1.0 renames the domain, some directives and roles, and the targets of objects.
Domain#
The domain is cs, in place of csharp:
.. default-domain:: cs
.. cs:class:: MyClass
See :cs:type:`MyClass`.
Directives and Roles#
0.1 |
1.0 |
|---|---|
|
|
|
|
|
|
|
|
Note
:cs:enum: links to an enum type. In 0.1, :csharp:enum: linked to an enum value.
Targets#
The target of an object starts with its object type, as in 0.1. Some object types and names change:
0.1 |
1.0 |
|---|---|
|
|
|
|
|
|
A link to an anchor in pages built with 0.1 needs the new target.
See also
References describes the targets.
Option Names#
Forks of sphinx-csharp before 1.0 named some options of conf.py differently. The old names still work, with a cs.config warning:
Old name |
Name in 1.0 |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|