Up to date reference material for adding new material nodes for cycles?

I want to try adding / modifying existing nodes in cycles to add new functionality but the only documentation I’ve found on adding new nodes (this and this) seem to be outdated as files and directories they reference don’t exist anymore and seem to predate cycles X. Is there a more up to date reference for this?