Hello,

In Airflow 2, we've moved some configuration options to the new section. We also changed the names of some of the configuration options. This is confusing for users who are familiar with the old option and section names.  It would be great if we could add information to the documentation that points to the new name of the options.

https://github.com/apache/airflow/blob/8f48f12128e0d985c6de2603902524859fecbca8/airflow/configuration.py#L139-L169

> 'The {old} option in [{section}] has been renamed to {new}
> 'The {old_key} option in [{old_section}] has been moved to the {new_key} option in '
> '[{new_section}]

Best regards,
Kamil Breguła

tests/core/test_configuration.py
with io.StringIO() as string_file:
            conf.write(string_file)
            content = string_file.getvalue()
        assert "dags_folder = /tmp/test_folder" in content
    def test_run_command(self):
        write = r'sys.stdout.buffer.write("\u1000foo".encode("utf8"))'
        cmd = f'import sys; {write}; sys.stdout.flush()'
        assert run_command(f"python -c '{cmd}'") == '\u1000foo'
        assert run_command('echo "foo bar"') == 'foo bar\n'
        with pytest.raises(AirflowConfigException):
            run_command('bash -c "exit 1"')
    def test_confirm_unittest_mod(self):
        assert conf.get('core', 'unit_test_mode')
    @conf_vars({("core", "store_serialized_dags"): "True"})
    def test_store_dag_code_default_config(self):
        store_serialized_dags = conf.getboolean('core', 'store_serialized_dags', fallback=False)
        store_dag_code = conf.getboolean("core", "store_dag_code", fallback=store_serialized_dags)
        assert not conf.has_option("core", "store_dag_code")
        assert store_serialized_dags
        assert store_dag_code
    @conf_vars({("core", "store_serialized_dags"): "True", ("core", "store_dag_code"): "False"})
    def test_store_dag_code_config_when_set(self):
        store_serialized_dags = conf.getboolean('core', 'store_serialized_dags', fallback=False)
        store_dag_code = conf.getboolean("core", "store_dag_code", fallback=store_serialized_dags)
        assert conf.has_option("core", "store_dag_code")
        assert store_serialized_dags
        assert not store_dag_code