dub_jkp / changelog /
@deviator deviator authored on 5 Dec 2020
The Dlang Bot committed on 8 Dec 2020
..
README.md generate dlang.org changelog from fragments (tools/changed) 6 years ago
add-ability-for-specify-version-range-for-commandline-commands.dd Add ability to specify version specification for commandline commands 4 years ago
auto-exclude-main-from-other-configs.dd Mutually exclude mainSourceFile of different configurations 4 years ago
betterc-generated-in-visuald.dd betterC flag enabled in generated visuald project file. 4 years ago
cache-generated-test-config.dd cache the generated test main file: dub_test_root.d 4 years ago
dependency-build-settings.dd Recursively apply dependencyBuildSettings 4 years ago
dont-propagate-flags.dd Don't export DFLAGS & LFLAGS to nested invocations by default 4 years ago
env-d-compiler.dd Use DC env variable as the default compiler 4 years ago
fix-2051.dd Fix #2051 "Running unittests from dub single file packages fails" (#2052) 4 years ago
improved-ldc-cross-compile.dd Improved ldc cross compile: 4 years ago
improved-list-command.dd improve list command 4 years ago
support-for-.netrc-file-added.dd Set curl option CURL_NETRC_OPTIONAL 4 years ago
README.md

This directory will get copied to dlang.org and cleared when master gets merged into stable prior to a new release.

How to add a new changelog entry to the pending changelog?

Create a new file in the changelog folder. It should end with .dd and look similar to a git commit message. The first line represents the title of the change. After an empty line follows the long description:

My fancy title of the new feature

A long description of the new feature in `std.range`.
It can be followed by an example:
-------
import std.range : padLeft, padRight;
import std.algorithm.comparison : equal;

assert([1, 2, 3, 4, 5].padLeft(0, 7).equal([0, 0, 1, 2, 3, 4, 5]));

assert("Hello World!".padRight('!', 15).equal("Hello World!!!!"));
-------
and links to the documentation, e.g. $(REF drop, std, range) or
$(REF_ALTTEXT a custom name for the function, drop, std, range).

Links to the spec can look like this $(LINK2 $(ROOT_DIR)spec/module.html, this)
and of course you can link to other $(LINK2 https://forum.dlang.org/, external resources).

The title can't contain links (it's already one). For more infos, see the Ddoc spec.

Preview changes

If you have cloned the tools and dlang.org repo, you can preview the changelog with:

make -C ../dlang.org -f posix.mak pending_changelog