Skip to content

Commit 2c96aaa

Browse files
committed
All FIGs and Supplemental Guides are attached to a yearly version. Sidebars and Docusaurus config has been updated to support this. Also added 2025 Data year to the data-collection-timelines.md table, updated the image and added the 2025 FIG link to the document. The main navbar points to 2024 FIG instead of fig/overview because the 2024 is still the current one to use.
1 parent f250b68 commit 2c96aaa

File tree

18 files changed

+189
-104
lines changed

18 files changed

+189
-104
lines changed

cypress/e2e/documentation.cy.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
const { HOST } = Cypress.env()
22

33
const DOCS_DEFAULT_URL = `${HOST}/documentation/category/frequently-asked-questions`
4-
const FIG_DOCS_DEFAULT_URL = `${HOST}/documentation/fig/overview` // Takes user to most current FIG document
5-
const LATEST_FIG_YEAR = '2024'
4+
const FIG_DOCS_DEFAULT_URL = `${HOST}/documentation/fig/2024/overview` // Takes user to most current FIG document
5+
const CURRENT_FIG_YEAR = '2024'
66

77
describe('General Checks', () => {
88
it('Government banner is displayed and image is visible', () => {
@@ -112,7 +112,7 @@ describe('Covers Filing Instructions Guide (FIG) interactions', () => {
112112

113113
it('Ensures the latest FIG is live', () => {
114114
cy.visit(FIG_DOCS_DEFAULT_URL)
115-
cy.get('h1').contains(LATEST_FIG_YEAR)
115+
cy.get('h1').contains(CURRENT_FIG_YEAR)
116116
})
117117
it('Searches for an answer on the 2023 FIG through Algolia', () => {
118118
cy.visit(`${HOST}/documentation/fig/2023/overview`)
@@ -128,7 +128,7 @@ describe('Covers Filing Instructions Guide (FIG) interactions', () => {
128128
cy.get(':nth-child(2) > .menu__list > :nth-child(1) > .menu__link').click()
129129
cy.wait(1000)
130130
cy.get('.menu__list-item--collapsed > .menu__list-item-collapsible > .menu__link').click()
131-
cy.get(':nth-child(2) > .menu__list > :nth-child(1) > .menu__link').contains(LATEST_FIG_YEAR)
131+
cy.get(':nth-child(2) > .menu__list > :nth-child(1) > .menu__link').contains(CURRENT_FIG_YEAR)
132132
cy.get('.theme-doc-version-banner').contains('2023 Filing Instructions Guide')
133133
cy.get('.theme-doc-version-banner').contains('2024 Filing Instructions Guide')
134134
cy.get(':nth-child(2) > .breadcrumbs__link').contains(`${previousYear} Filing Instructions Guide`)

documentation/faq/data-collection-timelines.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,17 @@ The collection window of HMDA Data submission and resubmission is a three year p
2121
| 2022 | January 1, 2023 | December 31, 2025 |
2222
| 2023 | January 1, 2024 | December 31, 2026 |
2323
| 2024 | January 1, 2025 | December 31, 2027 |
24+
| 2025 | January 1, 2026 | December 31, 2028 |
2425

2526
## Filing Instructions Guide (FIG)
2627

2728
| HMDA Filing Instructions Guides (FIG) |
2829
|:---:|
29-
| <a target="_blank" rel="noopener noreferrer" href="https://s3.amazonaws.com/cfpb-hmda-public/prod/help/2018-hmda-fig-2018-hmda-rule.pdf">2018</a> \| <a target="_blank" rel="noopener noreferrer" href="https://s3.amazonaws.com/cfpb-hmda-public/prod/help/2019-hmda-fig.pdf">2019</a> \| <a target="_blank" rel="noopener noreferrer" href="https://s3.amazonaws.com/cfpb-hmda-public/prod/help/2020-hmda-fig.pdf">2020</a> \| <a target="_blank" rel="noopener noreferrer" href="https://s3.amazonaws.com/cfpb-hmda-public/prod/help/2021-hmda-fig.pdf">2021</a> \| <a target="_blank" rel="noopener noreferrer" href="https://s3.amazonaws.com/cfpb-hmda-public/prod/help/2022-hmda-fig.pdf">2022</a> \| <a target="_blank" rel="noopener noreferrer" href="https://s3.amazonaws.com/cfpb-hmda-public/prod/help/2023-hmda-fig.pdf">2023</a> \| <a target="_blank" rel="noopener noreferrer" href="https://s3.amazonaws.com/cfpb-hmda-public/prod/help/2024-hmda-fig.pdf">2024</a> \|
30+
| <a target="_blank" rel="noopener noreferrer" href="https://s3.amazonaws.com/cfpb-hmda-public/prod/help/2018-hmda-fig-2018-hmda-rule.pdf">2018</a> \| <a target="_blank" rel="noopener noreferrer" href="https://s3.amazonaws.com/cfpb-hmda-public/prod/help/2019-hmda-fig.pdf">2019</a> \| <a target="_blank" rel="noopener noreferrer" href="https://s3.amazonaws.com/cfpb-hmda-public/prod/help/2020-hmda-fig.pdf">2020</a> \| <a target="_blank" rel="noopener noreferrer" href="https://s3.amazonaws.com/cfpb-hmda-public/prod/help/2021-hmda-fig.pdf">2021</a> \| <a target="_blank" rel="noopener noreferrer" href="https://s3.amazonaws.com/cfpb-hmda-public/prod/help/2022-hmda-fig.pdf">2022</a> \| <a target="_blank" rel="noopener noreferrer" href="https://s3.amazonaws.com/cfpb-hmda-public/prod/help/2023-hmda-fig.pdf">2023</a> \| <a target="_blank" rel="noopener noreferrer" href="https://s3.amazonaws.com/cfpb-hmda-public/prod/help/2024-hmda-fig.pdf">2024</a> \| <a target="_blank" rel="noopener noreferrer" href="/documentation/fig/2025/overview">2025</a>
3031

3132
**Note**: The 2018 FIG link in the table is the updated FIG released on October 11, 2018 for data collected in 2018 incorporating the 2018 HMDA rule. The <a target="_blank" rel="noopener noreferrer" href="https://s3.amazonaws.com/cfpb-hmda-public/prod/help/2018-hmda-fig-2018">previous 2018 FIG</a> released before the ruling is also available. Data collection for 2018 is closed.
3233

33-
The Filing Instructions Guide is available to filers in an online format that is searchable, linkable, and shareable. Access the [Online FIG](/documentation/fig/overview).
34+
The Filing Instructions Guide is available to filers in an online format that is searchable, linkable, and shareable. Access the [2024 Online FIG](/documentation/fig/2024/overview).
3435

3536
## Annual Filing Period Dates
3637

docusaurus.config.js

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ const config = {
2222
},
2323
staticDirectories: ['static'],
2424

25+
customFields: {
26+
latestFigYear: '2025', // Using key to determine 'latestFigYear' in various places. The key is like a 'env' or const configuration.
27+
},
28+
2529
presets: [
2630
[
2731
'classic',
@@ -63,10 +67,31 @@ const config = {
6367
'@docusaurus/plugin-content-docs',
6468
{
6569
id: 'fig',
66-
path: 'fig',
70+
path: 'fig_versioned_docs',
6771
routeBasePath: '/fig',
68-
// sidebarPath: './sidebarsFig.js',
6972
lastVersion: '2025',
73+
versions: {
74+
2025: {
75+
label: '2025',
76+
path: '2025',
77+
},
78+
2024: {
79+
label: '2024',
80+
path: '2024',
81+
},
82+
2023: {
83+
label: '2023',
84+
path: '2023',
85+
},
86+
2022: {
87+
label: '2022',
88+
path: '2022',
89+
},
90+
2021: {
91+
label: '2021',
92+
path: '2021',
93+
},
94+
},
7095
includeCurrentVersion: false,
7196
},
7297
],

fig_versioned_docs/version-2021/tables/SupplementalGuide/supplemental-guide-for-filers-version-log.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
[
2+
{
3+
"Date": "August 2024",
4+
"Version": "1.1",
5+
"Section": "3.1",
6+
"Changes": "<strong>Section 3.1 Frequently Asked Questions</strong><ul><li>Removed Self Service Knowledge Portal and Added Frequently Asked Questions and its weblink</li></ul>"
7+
},
28
{
39
"Date": "August 2020",
410
"Version": "1.0",

fig_versioned_docs/version-2022/tables/SupplementalGuide/supplemental-guide-for-filers-version-log.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
[
2+
{
3+
"Date": "August 2024",
4+
"Version": "1.1",
5+
"Section": "3.1",
6+
"Changes": "<strong>Section 3.1 Frequently Asked Questions</strong><ul><li>Removed Self Service Knowledge Portal and Added Frequently Asked Questions and its weblink</li></ul>"
7+
},
28
{
39
"Date": "August 2021",
410
"Version": "1.0",

fig_versioned_docs/version-2023/tables/SupplementalGuide/supplemental-guide-for-filers-version-log.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
[
2+
{
3+
"Date": "August 2024",
4+
"Version": "1.1",
5+
"Section": "3.1",
6+
"Changes": "<strong>Section 3.1 Frequently Asked Questions</strong><ul><li>Removed Self Service Knowledge Portal and Added Frequently Asked Questions and its weblink</li></ul>"
7+
},
28
{
39
"Date": "July 2022",
410
"Version": "1.0",

fig_versioned_docs/version-2024/tables/SupplementalGuide/supplemental-guide-for-filers-version-log.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
[
2+
{
3+
"Date": "August 2024",
4+
"Version": "1.1",
5+
"Section": "3.1",
6+
"Changes": "<strong>Section 3.1 Frequently Asked Questions</strong><ul><li>Removed Self Service Knowledge Portal and Added Frequently Asked Questions and its weblink</li></ul>"
7+
},
28
{
39
"Date": "August 2023",
410
"Version": "1.0",
Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
1-
[{
2-
"Date": "July 2024",
3-
"Version": "1.0",
4-
"Section": "1.1",
5-
"Changes": "<strong>Original Document.</strong> <br><strong>Changes from 2024 Supplemental Guide for Quarterly Filers:</strong> <br /><br> <strong>Section 1.1, Institutions Required to File Quarterly</strong><ul><li>Updated Quarters 1-3 filing deadlines, discrete filing periods, & late submission dates to account for new 2024 calendar year and weekend deadlines</li></ul></li></ul>"
6-
}]
1+
[
2+
{
3+
"Date": "August 2024",
4+
"Version": "1.1",
5+
"Section": "3.1",
6+
"Changes": "<strong>Section 3.1 Frequently Asked Questions</strong><ul><li>Removed Self Service Knowledge Portal and Added Frequently Asked Questions and its weblink</li></ul>"
7+
},
8+
{
9+
"Date": "July 2024",
10+
"Version": "1.0",
11+
"Section": "1.1",
12+
"Changes": "<strong>Original Document.</strong> <br><strong>Changes from 2024 Supplemental Guide for Quarterly Filers:</strong> <br /><br> <strong>Section 1.1 Institutions Required to File Quarterly</strong><ul><li>Updated Quarters 1-3 filing deadlines, discrete filing periods, & late submission dates to account for new 2025 calendar year and weekend deadlines</li></ul></li></ul>"
13+
}
14+
]

fig_versioned_docs/version-2025/tables/table1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"Data Field Name": "Calendar Quarter",
2626
"Data Field Type": "Numeric",
2727
"Valid Values": "4",
28-
"Descriptions and Examples": "4. Annual submissions for all HMDA filers for covered loans and applications with respect to which final action was taken from January 1st (01/01) and December 31st (12/31) Codes 1, 2, and 3 are used only during quarterly filing by institutions required to report <a href='https://www.consumerfinance.gov/about-us/newsroom/cfpb-rescinds-series-of-policy-statements-to-ensure-industry-complies-with-consumer-protection-laws/' target='_blank' rel='noopener noreferrer'>data quarterly</a><sup><a href='#2'>2</a></sup> [1]. More information on quarterly filing is found in the <a href="https://github.com/documentation/fig/supplemental-guide-for-quaterly-filers" target='_blank' rel='noopener noreferrer'>Supplemental Guide for Quarterly Filers</a>."
28+
"Descriptions and Examples": "4. Annual submissions for all HMDA filers for covered loans and applications with respect to which final action was taken from January 1st (01/01) and December 31st (12/31) Codes 1, 2, and 3 are used only during quarterly filing by institutions required to report <a href='https://www.consumerfinance.gov/about-us/newsroom/cfpb-rescinds-series-of-policy-statements-to-ensure-industry-complies-with-consumer-protection-laws/' target='_blank' rel='noopener noreferrer'>data quarterly</a><sup><a href='#2'>2</a></sup> [1]. More information on quarterly filing is found in the <a href="https://github.com/documentation/fig/2025/supplemental-guide-for-quaterly-filers' target='_blank' rel='noopener noreferrer'>Supplemental Guide for Quarterly Filers</a>."
2929
},
3030
{
3131
"Data Field Number": "5",

fig_versioned_sidebars/version-2021-sidebars.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
{
5151
"type": "link",
5252
"label": "2025 Filing Instructions Guide",
53-
"href": "/fig/overview"
53+
"href": "/fig/2025/overview"
5454
},
5555
{
5656
"type": "link",
@@ -77,7 +77,7 @@
7777
{
7878
"type": "link",
7979
"label": "2025 Supplemental Guide for Quarterly Filers",
80-
"href": "/fig/supplemental-guide-for-quaterly-filers"
80+
"href": "/fig/2025/supplemental-guide-for-quaterly-filers"
8181
},
8282
{
8383
"type": "link",

0 commit comments

Comments
 (0)